cvs commit: src/sys/netinet ip_divert.c

Sepherosa Ziehau sephe at
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 
  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

More information about the Commits mailing list