PERFORCE change 153449 for review
Sam Leffler
sam at FreeBSD.org
Mon Nov 24 09:42:07 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153449
Change 153449 by sam at sam_ebb on 2008/11/24 17:41:07
remove null ptr check; it's pointless as there's a deref above it
Affected files ...
.. //depot/projects/arp-v2/src/sys/netinet/if_ether.c#18 edit
Differences ...
==== //depot/projects/arp-v2/src/sys/netinet/if_ether.c#18 (text+ko) ====
@@ -266,8 +266,6 @@
return (0);
}
}
- if (!ifp)
- panic("%s: invalid interface pointer", __func__);
flags = (ifp->if_flags & (IFF_NOARP | IFF_STATICARP)) ? 0 : LLE_CREATE;
More information about the p4-projects
mailing list