DragonFly commits List (threaded) for 2007-12
DragonFly BSD
DragonFly commits List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet ip_divert.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Dec 2007 04:44:21 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]