Date: Mon, 24 Nov 2008 17:42:06 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153449 for review Message-ID: <200811241742.mAOHg6gd044607@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153449 Change 153449 by sam@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811241742.mAOHg6gd044607>