cvs commit: src/sys/netinet6 icmp6.c

From: Robert Watson <>
Date: Tue, 29 Jul 2008 19:37:16 +0000 (UTC)
rwatson     2008-07-29 19:37:16 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         icmp6.c 
  SVN rev 180968 on 2008-07-29 19:37:16Z by rwatson
  When copying in and out current ICMPv6 filters on a raw IPv6 socket,
  lock the inpcb and use a local stack variable to copy to/from userspace
  so that sooptcopyin()/sooptcopyout() aren't called while holding an
  While here, fix a bug in which a failed sooptcopyin() might lead to
  partially consistent ICMPv6 filters on the socket by not ignoring the
  error returned by sooptcopyin().
  MFC after:      2 weeks
  Revision  Changes    Path
  1.89      +14 -6     src/sys/netinet6/icmp6.c
Received on Tue Jul 29 2008 - 19:37:30 UTC