[vbox-dev] linux host driver fails to build on kernel 4.7-rc1 [patch]

Adam Borowski kilobyte at angband.pl
Mon May 30 09:52:23 UTC 2016

Linux 4.7-rc1 came out yesterday, and here's a new build failure:
netdev->trans_start has been moved to the transmit queue.

Here's a patch.  It uses a compat interface meant for "legacy drivers only",
but as its used in so many places in the kernel, I guess you'll have plenty
of time to migrate to the newest and greatest way.

Only lightly tested: the module builds, doesn't explode and basic networking
in guests seems to work.

Tested on 5.0.20 as shipped by Debian.

An one-liner (+#ifdefs) is usually not considered copyrightable; in case you
think it is, I contribute it as MIT.

An imaginary friend squared is a real enemy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbox-4.7-rc1.patch
Type: text/x-diff
Size: 561 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160530/bd17125b/attachment.bin>

More information about the vbox-dev mailing list