Author: zec
Date: Fri Nov 26 15:45:34 2010
New Revision: 215870
URL: http://svn.freebsd.org/changeset/base/215870

Log:
  MFC r215677:
  
     Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair.

Modified:
  stable/8/sys/netinet/if_ether.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/netinet/if_ether.c
==============================================================================
--- stable/8/sys/netinet/if_ether.c     Fri Nov 26 15:44:16 2010        
(r215869)
+++ stable/8/sys/netinet/if_ether.c     Fri Nov 26 15:45:34 2010        
(r215870)
@@ -145,12 +145,10 @@ arp_ifscrub(struct ifnet *ifp, uint32_t 
        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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to