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

View File

@ -620,7 +620,7 @@ udp_input(struct mbuf *m, int off)
return; 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); udp_append(inp, ip, m, iphlen, &udp_in);
INP_RUNLOCK(inp); INP_RUNLOCK(inp);
return; return;