The second last argument of udp:::receive is supposed to contain the

connection state, not the IP header.

X-MFC with:	r254889
This commit is contained in:
Mark Johnston 2013-08-26 00:28:57 +00:00
parent 57f6086735
commit 1ad19fb657
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254893

View File

@ -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;