cvs commit: src/sys/net bridge.c src/sys/netinet6 ip6_forward.c ip6_output.c

Sam Leffler sam at FreeBSD.org
Mon Sep 29 21:46:09 PDT 2003


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 at 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


More information about the cvs-src mailing list