Robert Watson ae89d5a389 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
rwlock.

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
2008-07-29 19:37:16 +00:00
..
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-06-29 04:33:45 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-01-08 19:08:58 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-01-08 19:08:58 +00:00
2008-01-08 19:08:58 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00