cvs commit: src/sys/netinet in_proto.c ip_divert.c ip_var.h

Sam Leffler sam at FreeBSD.org
Sat Nov 8 15:09:43 PST 2003


sam         2003/11/08 15:09:42 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          in_proto.c ip_divert.c ip_var.h 
  Log:
  divert socket fixups:
  
  o pickup Giant in divert_packet to protect sbappendaddr since it
    can be entered through MPSAFE callouts or through ip_input when
    mpsafenet is 1
  o add missing locking on output
  o add locking to abort and shutdown
  o add a ctlinput handler to invalidate held routing table references
    on an ICMP redirect (may not be needed)
  
  Supported by:   FreeBSD Foundation
  
  Revision  Changes    Path
  1.67      +2 -2      src/sys/netinet/in_proto.c
  1.77      +73 -15    src/sys/netinet/ip_divert.c
  1.78      +1 -0      src/sys/netinet/ip_var.h


More information about the cvs-src mailing list