Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 00:28:57 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254893 - head/sys/netinet
Message-ID:  <201308260028.r7Q0SvoI054477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308260028.r7Q0SvoI054477>