cvs commit: src/sys/netinet ip_divert.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Dec 20 04:46:03 PST 2007


sephe       2007/12/20 04:44:20 PST

DragonFly src repository

  Modified files:
    sys/netinet          ip_divert.c 
  Log:
  In divert_packet():
  - Since rcvif is checked on the main code path, we need to make sure that
    the mbuf contains pkthdr.
  - It is impossible for a mbuf that does not contain divert tag to sneak into
    divert_packet(); add assertion about it.
  - Rearrange code a little bit.
  
  Revision  Changes    Path
  1.33      +6 -8      src/sys/netinet/ip_divert.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_divert.c.diff?r1=1.32&r2=1.33&f=u





More information about the Commits mailing list