NetBSD/sys/netinet
ozaki-r 950403f768 Fix KASSERT in tcp_input
inp can be NULL when receiving an IPv4 packet on an IPv4-mapped IPv6
address. In that case KASSERT(sotoinpcb(so) == inp) always fails.

Should fix PR kern/52304 (at least it fixes the same panic as the
report)
2017-06-19 10:04:23 +00:00
..
Makefile add l2tp(4) L2TPv3 interface. 2017-02-16 08:12:43 +00:00
accept_filter.h
accf_data.c
accf_http.c
cpu_in_cksum.c
dccp.h
dccp_cc_sw.c
dccp_cc_sw.h
dccp_tcplike.c
dccp_tcplike.h
dccp_tfrc.c
dccp_tfrc.h
dccp_tfrc_lookup.h
dccp_usrreq.c Change bzero -> memset, bcopy -> memcpy. 2017-05-07 21:36:23 +00:00
dccp_var.h
files.ipfilter
files.netinet
icmp6.h Remove unnecessary forward struct declarations 2016-12-11 07:34:14 +00:00
icmp_private.h
icmp_var.h
if_arp.c Sending a routing message (RTM_ADD) on adding an llentry 2017-06-16 02:24:54 +00:00
if_atm.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
if_atm.h
if_ether.h
if_inarp.h Replace malloc for DAD with kmem and move them out of the lock for DAD 2017-02-21 03:58:23 +00:00
igmp.c Tweak softnet_lock and NET_MPSAFE 2017-01-24 07:09:24 +00:00
igmp.h
igmp_var.h
in.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
in.h add l2tp(4) L2TPv3 interface. 2017-02-16 08:12:43 +00:00
in4_cksum.c
in_cksum.c
in_gif.c remove unnecessary conversion. 2017-01-06 03:25:13 +00:00
in_gif.h
in_ifattach.h
in_l2tp.c remove duplicated validation. That is already done in l2tp_lookup_session_ref(). 2017-03-30 23:13:54 +00:00
in_l2tp.h add missing files. 2017-02-16 08:23:35 +00:00
in_offload.c
in_offload.h
in_pcb.c Check if solock of PCB is held when SP caches in the PCB are accessed 2017-04-25 05:44:11 +00:00
in_pcb.h Make sure imo_membership is protected by inp's lock (solock) 2017-03-02 05:29:31 +00:00
in_pcb_hdr.h Assert inph_locked on ipsec_pcb_skip_ipsec (was IPSEC_PCB_SKIP_IPSEC) 2017-06-02 03:41:20 +00:00
in_print.c
in_proto.c Rumpify netipsec 2017-04-14 02:43:27 +00:00
in_proto.h
in_selsrc.c
in_selsrc.h
in_systm.h
in_var.h replace in_fmtaddr() by IN_PRINT(), and delete function in_fmtaddr() 2017-05-12 17:53:53 +00:00
ip.h
ip6.h
ip_carp.c Allow CARP to call the link_state_change handler immediately 2017-05-19 08:53:51 +00:00
ip_carp.h
ip_ecn.c
ip_ecn.h
ip_encap.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
ip_encap.h
ip_etherip.c Get rid of unnecessary header inclusions 2017-01-11 13:08:29 +00:00
ip_etherip.h
ip_flow.c Add missing NULL checks for m_get_rcvif 2017-02-07 02:38:08 +00:00
ip_icmp.c Don't use a single global variable to store source route information for multiple incoming packets 2017-03-31 06:49:44 +00:00
ip_icmp.h Protect sysctl_net_inet_ip_pmtudto with icmp_mtx instead of softnet_lock 2017-02-17 04:32:10 +00:00
ip_id.c
ip_input.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
ip_mroute.c Tweak softnet_lock and NET_MPSAFE 2017-01-24 07:09:24 +00:00
ip_mroute.h
ip_output.c replace in_fmtaddr() by IN_PRINT(), and delete function in_fmtaddr() 2017-05-12 17:53:53 +00:00
ip_private.h
ip_reass.c Get rid of unnecessary header inclusions 2017-01-11 13:08:29 +00:00
ip_var.h Don't use a single global variable to store source route information for multiple incoming packets 2017-03-31 06:49:44 +00:00
pim.h
pim_var.h
portalgo.c Get rid of unnecessary header inclusions 2017-01-11 13:08:29 +00:00
portalgo.h
raw_ip.c Remove unnecessary NULL checks for inp_socket and in6p_socket 2017-04-20 08:46:07 +00:00
sctp.h
sctp_asconf.c Fix build w/ SCTP and w/o SCTP_DEBUG 2017-01-17 01:24:44 +00:00
sctp_asconf.h
sctp_constants.h
sctp_crc32.c sprinkle const on sctp_crc_c[] 2016-08-12 19:08:54 +00:00
sctp_crc32.h
sctp_hashdriver.c
sctp_hashdriver.h
sctp_header.h
sctp_indata.c
sctp_indata.h
sctp_input.c Fix build of kernel with SCTP 2017-04-20 09:19:19 +00:00
sctp_input.h
sctp_output.c Pass inpcb/in6pcb instead of socket to ip_output/ip6_output 2017-03-03 07:13:06 +00:00
sctp_output.h
sctp_pcb.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
sctp_pcb.h
sctp_peeloff.c
sctp_peeloff.h
sctp_structs.h
sctp_timer.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
sctp_timer.h
sctp_uio.h
sctp_usrreq.c
sctp_var.h
sctputil.c ip6_sprintf -> IN6_PRINT so that we pass the size. 2017-01-16 15:44:46 +00:00
sctputil.h
tcp.h add a couple of lint comments. 2017-01-10 20:32:27 +00:00
tcp_congctl.c Restore behaviour to pre- tcp_congctl.c:1.18 for SACK. Further analysis 2017-01-02 09:29:38 +00:00
tcp_congctl.h
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_input.c Fix KASSERT in tcp_input 2017-06-19 10:04:23 +00:00
tcp_output.c Assert inph_locked on ipsec_pcb_skip_ipsec (was IPSEC_PCB_SKIP_IPSEC) 2017-06-02 03:41:20 +00:00
tcp_private.h
tcp_sack.c Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcp_seq.h
tcp_subr.c Pass inpcb/in6pcb instead of socket to ip_output/ip6_output 2017-03-03 07:13:06 +00:00
tcp_timer.c
tcp_timer.h
tcp_usrreq.c Tweak softnet_lock and NET_MPSAFE 2017-01-24 07:09:24 +00:00
tcp_var.h
tcp_vtw.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
tcp_vtw.h Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcpip.h
udp.h
udp_private.h
udp_usrreq.c Remove unnecessary NULL checks for inp_socket and in6p_socket 2017-04-20 08:46:07 +00:00
udp_var.h
wqinput.c pool_init does not copy its name argument 2017-06-02 19:10:19 +00:00
wqinput.h Defer some pr_input to workqueue 2017-02-02 02:52:10 +00:00