Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 21:40:07 -0800 (PST)
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 if_loop.c src/sys/netinet ip_icmp.c src/sys/kern uipc_mbuf2.c src/sys/sys mbuf.h
Message-ID:  <200310290540.h9T5e7OT076869@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2003/10/28 21:40:07 PST

  FreeBSD src repository

  Modified files:
    sys/net              if_loop.c 
    sys/netinet          ip_icmp.c 
    sys/kern             uipc_mbuf2.c 
    sys/sys              mbuf.h 
  Log:
  Introduce the notion of "persistent mbuf tags"; these are tags that stay
  with an mbuf until it is reclaimed.  This is in contrast to tags that
  vanish when an mbuf chain passes through an interface.  Persistent tags
  are used, for example, by MAC labels.
  
  Add an m_tag_delete_nonpersistent function to strip non-persistent tags
  from mbufs and use it to strip such tags from packets as they pass through
  the loopback interface and when turned around by icmp.  This fixes problems
  with "tag leakage".
  
  Pointed out by: Jonathan Stone
  Reviewed by:    Robert Watson
  
  Revision  Changes    Path
  1.21      +17 -0     src/sys/kern/uipc_mbuf2.c
  1.88      +1 -0      src/sys/net/if_loop.c
  1.81      +1 -0      src/sys/netinet/ip_icmp.c
  1.125     +17 -1     src/sys/sys/mbuf.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310290540.h9T5e7OT076869>