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

Larry Finger Larry.Finger at lwfinger.net
Mon May 30 17:50:34 GMT 2016


On 05/30/2016 04:52 AM, Adam Borowski wrote:
> Hi!
> 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.

The kernel change has been in net-next for some time. I have been using the 
equivalent of this patch for some time with no problems.

Larry






More information about the vbox-dev mailing list