cvs commit: src/sys/kern uipc_mbuf2.c src/sys/sys mbuf.h src/sys/net/ipfw ip_fw.c ip_fw2.c src/sys/netinet ip_divert.c ip_encap.c ip_input.c ip_output.c src/sys/netinet6 ip6_input.c ipsec.c src/sys/netproto/ipsec ipsec_input.c ipsec_output.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 17 12:13:21 PDT 2005


dillon      2005/06/17 12:12:23 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_mbuf2.c 
    sys/sys              mbuf.h 
    sys/net/ipfw         ip_fw.c ip_fw2.c 
    sys/netinet          ip_divert.c ip_encap.c ip_input.c 
                         ip_output.c 
    sys/netinet6         ip6_input.c ipsec.c 
    sys/netproto/ipsec   ipsec_input.c ipsec_output.c xform_ah.c 
                         xform_esp.c 
  Log:
  Abstract out the location of an m_tag's data by adding a m_tag_data() inline.
  Replace all instances of 'mtag + 1' with the new inline.
  
  Fix numerous bugs, mainly in ipfw/ipfw2, where the m_tag data was being stored
  in the wrong place and corrupting the m_tag, resulting in a panic.  This
  primarily occured with the use of divert rules.
  
  Reported-by: Ben Woolley <tautolog at xxxxxxxxx>
  
  Revision  Changes    Path
  1.11      +4 -0      src/sys/kern/uipc_mbuf2.c
  1.31      +6 -0      src/sys/sys/mbuf.h
  1.14      +5 -5      src/sys/net/ipfw/ip_fw.c
  1.17      +3 -3      src/sys/net/ipfw/ip_fw2.c
  1.25      +4 -2      src/sys/netinet/ip_divert.c
  1.13      +2 -2      src/sys/netinet/ip_encap.c
  1.55      +2 -2      src/sys/netinet/ip_input.c
  1.31      +3 -3      src/sys/netinet/ip_output.c
  1.26      +2 -2      src/sys/netinet6/ip6_input.c
  1.13      +1 -1      src/sys/netinet6/ipsec.c
  1.9       +4 -4      src/sys/netproto/ipsec/ipsec_input.c
  1.9       +1 -1      src/sys/netproto/ipsec/ipsec_output.c
  1.8       +1 -1      src/sys/netproto/ipsec/xform_ah.c
  1.8       +1 -1      src/sys/netproto/ipsec/xform_esp.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf2.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_divert.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_encap.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.54&r2=1.55&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_input.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ipsec.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/ipsec_input.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/ipsec_output.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/xform_ah.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/xform_esp.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list