svn commit: r246491 - user/ae/inet6/sys/netinet6

Andrey V. Elsukov ae at FreeBSD.org
Thu Feb 7 17:16:19 UTC 2013


Author: ae
Date: Thu Feb  7 17:16:19 2013
New Revision: 246491
URL: http://svnweb.freebsd.org/changeset/base/246491

Log:
  Remove redundant check.

Modified:
  user/ae/inet6/sys/netinet6/ip6_input.c

Modified: user/ae/inet6/sys/netinet6/ip6_input.c
==============================================================================
--- user/ae/inet6/sys/netinet6/ip6_input.c	Thu Feb  7 17:14:16 2013	(r246490)
+++ user/ae/inet6/sys/netinet6/ip6_input.c	Thu Feb  7 17:16:19 2013	(r246491)
@@ -793,7 +793,7 @@ passin:
 			/* Count the packet in the ip address stats */
 			ia6->ia_ifa.if_ipackets++;
 			ia6->ia_ifa.if_ibytes += m->m_pkthdr.len;
-			if (ia6 != NULL && free_ia6 != 0)
+			if (free_ia6 != 0)
 				ifa_free(&ia6->ia_ifa);
 			goto hbhcheck;
 		} else {


More information about the svn-src-user mailing list