cvs commit: src/sys/netinet tcp_input.c

Ken Smith kensmith at FreeBSD.org
Mon Sep 10 07:49:33 PDT 2007


kensmith    2007-09-10 14:49:33 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_input.c 
  Log:
  Make sure that either inp is NULL or we have obtained a lock on it before
  jumping to dropunlock to avoid a panic.  While here move the calls to
  ipsec4_in_reject() and ipsec6_in_reject() so they are after we obtain
  the lock on inp.
  
  Original patch to avoid panic:  pjd
  Review of locking adjustments:  gnn, sam
  Approved by:                    re (rwatson)
  
  Revision  Changes    Path
  1.368     +13 -13    src/sys/netinet/tcp_input.c


More information about the cvs-src mailing list