git: tun/tap: Don't repeat ifnet_attach_event and IFAN_ARRAIVAL
Aaron LI
aly at crater.dragonflybsd.org
Thu Jul 2 16:02:01 PDT 2020
commit a13a0bb2ca25a65c4d4ed1eea7e9d32819f5e08a
Author: Aaron LI <aly at aaronly.me>
Date: Sun Jun 28 23:20:53 2020 +0800
tun/tap: Don't repeat ifnet_attach_event and IFAN_ARRAIVAL
* The if_attach() called in tuncreate() already invokes
'ifnet_attach_event' and announces IFAN_ARRAIVAL;
* The ether_ifattach() called in tapcreate() invokes if_attach() and
thus would also do the above.
Summary of changes:
sys/net/tap/if_tap.c | 10 ++--------
sys/net/tun/if_tun.c | 11 +----------
2 files changed, 3 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a13a0bb2ca25a65c4d4ed1eea7e9d32819f5e08a
--
DragonFly BSD source repository
More information about the Commits
mailing list