summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2013-08-26 00:28:57 +0000
committermarkj <markj@FreeBSD.org>2013-08-26 00:28:57 +0000
commitf9ffef37233ab581ec6aab1c0e836c92ec385b9b (patch)
tree0347391106a6f1856a73d689d28036acc00e01b2 /sys/netinet/udp_usrreq.c
parent29e4661920638221bbffb4c527fb24daa4702b4c (diff)
downloadFreeBSD-src-f9ffef37233ab581ec6aab1c0e836c92ec385b9b.zip
FreeBSD-src-f9ffef37233ab581ec6aab1c0e836c92ec385b9b.tar.gz
The second last argument of udp:::receive is supposed to contain the
connection state, not the IP header. X-MFC with: r254889
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 66aa6d4..de4957d 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -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;
OpenPOWER on IntegriCloud