You are breaking the ether_ifattach() of the tap interface; last time I checked, this will break IPv6 stuff too, which assume the existence of arpcom.
On Tue, Jul 17, 2018 at 2:58 PM, Aaron LI <a...@crater.dragonflybsd.org> wrote: > > commit 78e1ab4a8fc0074361116dedb55e6dc02baea351 > Author: Aaron LI <a...@aaronly.me> > Date: Sun Jul 8 14:09:29 2018 +0800 > > if_tap: Get rid of arpcom struct from tap_softc struct > > Remove the ancient arpcom struct from the tap_softc struct, > meanwhile introduce the "tap_ifp" member that points to the > interface (ifnet struct) associating with the tap device. > > Summary of changes: > sys/net/tap/if_tap.c | 40 ++++++++++++++++++++++++---------------- > sys/net/tap/if_tapvar.h | 3 +-- > 2 files changed, 25 insertions(+), 18 deletions(-) > > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/78e1ab4a8fc0074361116dedb55e6dc02baea351 > > > -- > DragonFly BSD source repository -- Tomorrow Will Never Die