svn commit: r254893 - head/sys/netinet

Mark Johnston markj at FreeBSD.org
Mon Aug 26 00:28:57 UTC 2013


Author: markj
Date: Mon Aug 26 00:28:57 2013
New Revision: 254893
URL: http://svnweb.freebsd.org/changeset/base/254893

Log:
  The second last argument of udp:::receive is supposed to contain the
  connection state, not the IP header.
  
  X-MFC with:	r254889

Modified:
  head/sys/netinet/udp_usrreq.c

Modified: head/sys/netinet/udp_usrreq.c
==============================================================================
--- head/sys/netinet/udp_usrreq.c	Sun Aug 25 23:26:43 2013	(r254892)
+++ head/sys/netinet/udp_usrreq.c	Mon Aug 26 00:28:57 2013	(r254893)
@@ -620,7 +620,7 @@ udp_input(struct mbuf *m, int off)
 		return;
 	}
 
-	UDP_PROBE(receive, NULL, inp, ip, ip, uh);
+	UDP_PROBE(receive, NULL, inp, ip, inp, uh);
 	udp_append(inp, ip, m, iphlen, &udp_in);
 	INP_RUNLOCK(inp);
 	return;


More information about the svn-src-head mailing list