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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to