freebsd-dev/sys/netinet6
Andrey V. Elsukov f367798498 Take extra reference to security policy before calling crypto_dispatch().
Currently we perform crypto requests for IPSEC synchronous for most of
crypto providers (software, aesni) and only VIA padlock calls crypto
callback asynchronous. In synchronous mode it is possible, that security
policy will be removed during the processing crypto request. And crypto
callback will release the last reference to SP. Then upon return into
ipsec[46]_process_packet() IPSECREQUEST_UNLOCK() will be called to already
freed request. To prevent this we will take extra reference to SP.

PR:		201876
Sponsored by:	Yandex LLC
2015-09-30 08:16:33 +00:00
..
dest6.c
frag6.c
icmp6.c
icmp6.h
in6_cksum.c
in6_gif.c
in6_ifattach.c
in6_ifattach.h
in6_mcast.c
in6_pcb.c
in6_pcb.h
in6_pcbgroup.c
in6_proto.c
in6_rmx.c
in6_rss.c
in6_rss.h
in6_src.c
in6_var.h
in6.c rtsock requests for deleting interface address lles started to return EPERM 2015-09-27 04:54:29 +00:00
in6.h
ip6_ecn.h
ip6_forward.c Simplify the way of attaching IPv6 link-layer header. 2015-09-16 14:26:28 +00:00
ip6_gre.c
ip6_id.c
ip6_input.c
ip6_ipsec.c Take extra reference to security policy before calling crypto_dispatch(). 2015-09-30 08:16:33 +00:00
ip6_ipsec.h
ip6_mroute.c
ip6_mroute.h
ip6_output.c Simplify the way of attaching IPv6 link-layer header. 2015-09-16 14:26:28 +00:00
ip6_var.h
ip6.h
ip6protosw.h
mld6_var.h
mld6.c
mld6.h
nd6_nbr.c Eliminate nd6_nud_hint() and its TCP bindings. 2015-09-27 05:29:34 +00:00
nd6_rtr.c
nd6.c Eliminate nd6_nud_hint() and its TCP bindings. 2015-09-27 05:29:34 +00:00
nd6.h Eliminate nd6_nud_hint() and its TCP bindings. 2015-09-27 05:29:34 +00:00
pim6_var.h
pim6.h
raw_ip6.c
raw_ip6.h
route6.c
scope6_var.h
scope6.c
sctp6_usrreq.c
sctp6_var.h
send.c
send.h
tcp6_var.h
udp6_usrreq.c Compare mbuf pointer to NULL rather than to 0. 2015-09-21 12:53:26 +00:00
udp6_var.h