1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/netinet6
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
..
dest6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
frag6.c Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 2008-07-03 10:55:13 +00:00
icmp6.c When copying in and out current ICMPv6 filters on a raw IPv6 socket, 2008-07-29 19:37:16 +00:00
icmp6.h
in6_cksum.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_gif.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_gif.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_ifattach.c Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
in6_ifattach.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_pcb.c Pass the ucred along into in{,6}_pcblookup_local for upcoming 2008-07-10 13:31:11 +00:00
in6_pcb.h Pass the ucred along into in{,6}_pcblookup_local for upcoming 2008-07-10 13:31:11 +00:00
in6_proto.c This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
in6_rmx.c Repair botched variable rename. 2008-06-29 04:33:45 +00:00
in6_src.c Pass the ucred along into in{,6}_pcblookup_local for upcoming 2008-07-10 13:31:11 +00:00
in6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6.c Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
in6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_ecn.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_forward.c Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 2008-07-03 10:55:13 +00:00
ip6_id.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_input.c Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
ip6_ipsec.c Try to fix errors introduced in svn180085/cvs rev. 1.10: 2008-06-29 07:34:21 +00:00
ip6_ipsec.h #if 0 out a currently unsued (and incomplete) function: ip6_ipsec_mtu(). 2008-03-14 11:44:30 +00:00
ip6_mroute.c un-__P() 2008-01-08 19:08:58 +00:00
ip6_mroute.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_output.c Marginally decomplicate set/getsockopt code in ip6_output.c by simply 2008-07-29 09:31:03 +00:00
ip6_var.h Change the parameters to in6_selectsrc(): 2008-07-08 18:41:36 +00:00
ip6.h
ip6protosw.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
mld6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
mld6.c un-__P() 2008-01-08 19:08:58 +00:00
nd6_nbr.c This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
nd6_rtr.c Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
nd6.c un-__P() 2008-01-08 19:08:58 +00:00
nd6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
pim6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
pim6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
raw_ip6.c Since we fail IPv6 raw socket allocation if inp->in6p_icmp6filt can't 2008-07-29 18:09:46 +00:00
raw_ip6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
route6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
scope6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
scope6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
sctp6_usrreq.c 1) Adds the rest of the VIMAGE change macros 2008-07-09 16:45:30 +00:00
sctp6_var.h 1) Adds the rest of the VIMAGE change macros 2008-07-09 16:45:30 +00:00
tcp6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
udp6_usrreq.c Change the parameters to in6_selectsrc(): 2008-07-08 18:41:36 +00:00
udp6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00