[Bug 231151] ifconfig: unable to disable rxcsum, rxcsum6 and vlanhwcsum on em driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 12 22:25:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231151

--- Comment #10 from Kaho Toshikazu <kaho at elam.kais.kyoto-u.ac.jp> ---
(In reply to Stephen Hurd from comment #8)

> I'm trying to figure out why the old code was forcing only
> IFCAP_WOL_MCAST|IFCAP_WOL_MAGIC if any WoL flag (including IFCAL_WOL_UCAST)
> was set.

I suspect that because of a machine is easily woken up by a unintended packet
if wol_ucast is enabled.

> You also moved the if_vlancap(ifp) line to after the reinit.

A vlan interface requires the flags of the parent interface.
Because of very limited flags are passed through, in the existing code,
the vlan interface can usually get correct flags but sometimes get
old incorrect flags.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list