diff options
author | melifaro <melifaro@FreeBSD.org> | 2016-01-01 10:15:06 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2016-01-01 10:15:06 +0000 |
commit | 9a86ecf0aeb7e35f973c268adae4d400c7cf404c (patch) | |
tree | e941cb9051c9f33e90efa0e9291be9dc06567856 /sys/netinet | |
parent | 11d782769ff19b67410281362ae83a056498d6fd (diff) | |
download | FreeBSD-src-9a86ecf0aeb7e35f973c268adae4d400c7cf404c.zip FreeBSD-src-9a86ecf0aeb7e35f973c268adae4d400c7cf404c.tar.gz |
Remove second EVENTHANDLER_REGISTER slipped in r292978.
Describe the reason of doing unconditional M_PREPEND in ether_output().
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/if_ether.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 0bf5cec..7a06bea 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1334,8 +1334,5 @@ arp_init(void) if (IS_DEFAULT_VNET(curvnet)) iflladdr_tag = EVENTHANDLER_REGISTER(iflladdr_event, arp_iflladdr, NULL, EVENTHANDLER_PRI_ANY); - if (IS_DEFAULT_VNET(curvnet)) - iflladdr_tag = EVENTHANDLER_REGISTER(iflladdr_event, - arp_iflladdr, NULL, EVENTHANDLER_PRI_ANY); } SYSINIT(arp, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY, arp_init, 0); |