git: if_tap: Get rid of arpcom struct from tap_softc struct

Sepherosa Ziehau sepherosa at gmail.com
Tue Jul 17 01:16:58 PDT 2018


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 <aly at crater.dragonflybsd.org> wrote:
>
> commit 78e1ab4a8fc0074361116dedb55e6dc02baea351
> Author: Aaron LI <aly at 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


More information about the Commits mailing list