Date: Mon, 29 Sep 2003 21:46:08 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridge.c src/sys/netinet6 ip6_forward.c ip6_output.c Message-ID: <200309300446.h8U4k8nH043585@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/09/29 21:46:08 PDT FreeBSD src repository Modified files: sys/net bridge.c sys/netinet6 ip6_forward.c ip6_output.c Log: Correct pfil_run_hooks return handling: if the return value is non-zero then the mbuf has been consumed by a hook; otherwise beware of a null mbuf return (gack). In particular the bridge was doing the wrong thing. While in the ipv6 code make it's handling of pfil_run_hooks identical to netbsd. Pointed out by: Pyun YongHyeon <yongari@kt-is.co.kr> Revision Changes Path 1.71 +3 -5 src/sys/net/bridge.c 1.18 +6 -4 src/sys/netinet6/ip6_forward.c 1.51 +2 -5 src/sys/netinet6/ip6_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309300446.h8U4k8nH043585>