Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 22:25:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 231151] ifconfig: unable to disable rxcsum, rxcsum6 and vlanhwcsum on em driver
Message-ID:  <bug-231151-7501-30ogZlBRb6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231151-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231151-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231151

--- Comment #10 from Kaho Toshikazu <kaho@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_UCAS=
T)
> was set.

I suspect that because of a machine is easily woken up by a unintended pack=
et
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231151-7501-30ogZlBRb6>