Page MenuHomeFreeBSD

Allow vlan interfaces to rx through netmap(4)

Authored by mjoras on Aug 31 2017, 9:35 PM.
Referenced Files
Unknown Object (File)
Mon, Nov 6, 10:40 PM
Unknown Object (File)
Sat, Nov 4, 2:26 PM
Unknown Object (File)
Tue, Oct 31, 5:18 PM
Unknown Object (File)
Oct 5 2023, 9:33 PM
Unknown Object (File)
Oct 3 2023, 2:22 PM
Unknown Object (File)
Sep 29 2023, 5:07 PM
Unknown Object (File)
Sep 29 2023, 2:24 PM
Unknown Object (File)
Sep 27 2023, 8:08 AM



Normally after receiving a packet, a vlan(4) interface sends the packet
back through its parent interface's rx routine so that it can be
processed as an untagged frame. It does this by using the parent's
ifp->if_input. This is incompatible with netmap(4), which replaces the
vlan(4) interface's if_input with a netmap(4) hook. Fix this by using
the vlan(4) interface's ifp instead of the parent's directly.

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 12 2017, 11:57 PM
This revision was automatically updated to reflect the committed changes.