]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_epair: rework
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 9 Oct 2021 14:09:04 +0000 (16:09 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 2 Nov 2021 08:23:46 +0000 (09:23 +0100)
commit3dd5760aa5f876f8a3f0735afeebdf9ee414e1f5
treec3e0582d023df955215d1de2f7c2cbfa3ea09f5a
parent3693250e8a746053291849d8442f912336f0bf1b
if_epair: rework

Rework if_epair(4) to no longer use netisr and dpcpu.
Instead use mbufq and swi_net.
This simplifies the code and seems to make it work better and
no longer hang.

Work largely by bz@, with minor tweaks by kp@.

Reviewed by: bz, kp
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D31077
sys/net/if_epair.c