diff options
author | zec <zec@FreeBSD.org> | 2010-11-22 14:16:23 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2010-11-22 14:16:23 +0000 |
commit | cc776ae8bd6fee288915ecbda0c4a877e65594e4 (patch) | |
tree | 757165712253dab3f59285b380eb43b7df7806db | |
parent | 3aec76f035865d47bf52471aecdc000518a7d857 (diff) | |
download | FreeBSD-src-cc776ae8bd6fee288915ecbda0c4a877e65594e4.zip FreeBSD-src-cc776ae8bd6fee288915ecbda0c4a877e65594e4.tar.gz |
Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair.
MFC after: 3 days
-rw-r--r-- | sys/netinet/if_ether.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index a6cc4e4..e8a03ef 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -154,12 +154,10 @@ arp_ifscrub(struct ifnet *ifp, uint32_t addr) addr4.sin_len = sizeof(addr4); addr4.sin_family = AF_INET; addr4.sin_addr.s_addr = addr; - CURVNET_SET(ifp->if_vnet); IF_AFDATA_LOCK(ifp); lla_lookup(LLTABLE(ifp), (LLE_DELETE | LLE_IFADDR), (struct sockaddr *)&addr4); IF_AFDATA_UNLOCK(ifp); - CURVNET_RESTORE(); } #endif |