svn commit: r288066 - head/sys/netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Sep 21 12:53:27 UTC 2015
Author: bz
Date: Mon Sep 21 12:53:26 2015
New Revision: 288066
URL: https://svnweb.freebsd.org/changeset/base/288066
Log:
Compare mbuf pointer to NULL rather than to 0.
No functional change.
MFC after: 2 weeks
Modified:
head/sys/netinet6/udp6_usrreq.c
Modified: head/sys/netinet6/udp6_usrreq.c
==============================================================================
--- head/sys/netinet6/udp6_usrreq.c Mon Sep 21 12:32:36 2015 (r288065)
+++ head/sys/netinet6/udp6_usrreq.c Mon Sep 21 12:53:26 2015 (r288066)
@@ -788,7 +788,7 @@ udp6_output(struct inpcb *inp, struct mb
* for UDP and IP6 headers.
*/
M_PREPEND(m, hlen + sizeof(struct udphdr), M_NOWAIT);
- if (m == 0) {
+ if (m == NULL) {
error = ENOBUFS;
goto release;
}
More information about the svn-src-head
mailing list