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

--- Comment #10 from Kaho Toshikazu <k...@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.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to