On 2019-10-16 18:55, Gleb Smirnoff wrote:
On Wed, Oct 16, 2019 at 08:56:07AM +0000, Hans Petter Selasky wrote:
H> Author: hselasky
H> Date: Wed Oct 16 08:56:07 2019
H> New Revision: 353633
H> URL: https://svnweb.freebsd.org/changeset/base/353633
H>
H> Log:
H> VLAN_TRUNKDEV() requires epochification in ibcore after r353292.
Note that neither VLAN_DEVAT() not VLAN_TRUNKDEV() reference the
returned structure, so after epoch is exited the link is no longer
safe.
Does ibcore require these two functions in non-fast code paths?
Yes, ibcore use these in non-fast path.
Typically the ifnet's used will be referenced, and only the pointer
value is needed for deciding if a packet is designated for the given
network device or not.
--HPS
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"