Date: Tue, 7 Jul 2009 12:49:21 GMT From: Ana Kukec <anchie@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 165747 for review Message-ID: <200907071249.n67CnLLd052416@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165747 Change 165747 by anchie@anchie_malimis on 2009/07/07 12:49:21 mtod ip6_hdr on mbuff before passing to the user space. Affected files ... .. //depot/projects/soc2009/anchie_send/src/sys/netinet6/send.c#13 edit Differences ... ==== //depot/projects/soc2009/anchie_send/src/sys/netinet6/send.c#13 (text+ko) ==== @@ -26,11 +26,14 @@ static int send_output(struct mbuf *m, struct ifnet *ifp, int in, int msglen) { + struct ip6_hdr *ip6; + + ip6 = mtod(m, struct ip6_hdr *); /* * Send incoming or outgoing traffic to the user space either to be * protected (outgoing) or validated (incoming) according to rfc3971. */ - rt_securendmsg(ifp, in, m, msglen); + rt_securendmsg(ifp, in, ip6, msglen); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907071249.n67CnLLd052416>