HardenedBSD/sys/mips
Gleb Smirnoff e87c494015 Although most of the NIC drivers are epoch ready, due to peer pressure
switch over to opt-in instead of opt-out for epoch.

Instead of IFF_NEEDSEPOCH, provide IFF_KNOWSEPOCH. If driver marks
itself with IFF_KNOWSEPOCH, then ether_input() would not enter epoch
when processing its packets.

Now this will create recursive entrance in epoch in >90% network
drivers, but will guarantee safeness of the transition.

Mark several tested drivers as IFF_KNOWSEPOCH.

Reviewed by:		hselasky, jeff, bz, gallatin
Differential Revision:	https://reviews.freebsd.org/D23674
2020-02-24 21:07:30 +00:00
..
atheros
beri
broadcom
cavium
conf
include mips: fix kernel build after r357804 2020-02-14 20:25:04 +00:00
ingenic Enter the network epoch in the xdma interrupt handler if required 2020-02-08 23:07:29 +00:00
malta
mediatek
mips
nlm Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00