NetBSD/sys/netinet
riastradh 9515e06261 tcp(4): Bail early on sendoob if not connected.
XXX Not sure if testing tp->t_template is the right way to discern
this -- I just reached for it because the downstream crash is a panic
on tp->t_template == NULL in tcp_output.

XXX In principle this could try connecting to the address, except
it's not passed down from the logic in uipc_socket.c to tcp_sendoob.

Reported-by: syzbot+a01f4cfec72790855ce2@syzkaller.appspotmail.com
2022-06-28 01:44:19 +00:00
..
Makefile
accept_filter.h s/creting/creating/ 2022-01-01 13:18:43 +00:00
accf_data.c
accf_http.c
cpu_in_cksum.c
dccp.h
dccp_cc_sw.c
dccp_cc_sw.h
dccp_tcplike.c fix various small typos, mainly in comments. 2022-05-22 11:27:33 +00:00
dccp_tcplike.h
dccp_tfrc.c s/occured/occurred/ in comments, log messages and man pages. 2021-12-10 20:36:02 +00:00
dccp_tfrc.h
dccp_tfrc_lookup.h
dccp_usrreq.c fix typos in comments and log messages, mainly in establish(ed). 2021-12-04 13:23:03 +00:00
dccp_var.h fix various typos, mainly s/prefered/preferred/ 2021-11-07 20:31:09 +00:00
files.ipfilter Build ip_sync.c with -Wno-error to avoid failing due to excessive stack 2020-12-04 00:44:39 +00:00
files.netinet remove now unused pseudo-random ip id code. 2021-03-08 18:03:25 +00:00
icmp6.h icmp6: Remove __packed attribute from icmp6 structures 2020-07-27 14:52:55 +00:00
icmp_private.h - pass the alignment instead of the mask (as Roy asked and to match the 2021-02-17 22:32:04 +00:00
icmp_var.h
if_arp.c - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
if_ether.h Guard CTASSERT 2021-02-03 17:10:13 +00:00
if_inarp.h ARP: Use ND rather than our own. 2020-09-11 15:16:00 +00:00
igmp.c igmp_sendpkt() expects ip_output() to set 'imo.imo_multicast_ttl' into 2020-05-15 06:34:34 +00:00
igmp.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
igmp_var.h - pass the alignment instead of the mask (as Roy asked and to match the 2021-02-17 22:32:04 +00:00
in.c don't opencode kauth_cred_get() 2021-09-21 14:59:14 +00:00
in.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
in4_cksum.c
in_cksum.c
in_gif.c
in_gif.h
in_ifattach.h
in_l2tp.c - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
in_l2tp.h
in_offload.c
in_offload.h
in_pcb.c Use LIST_FOREACH macro. 2022-06-10 09:51:10 +00:00
in_pcb.h "inp_hash" is not used now. 2022-06-10 09:54:54 +00:00
in_pcb_hdr.h netinet: Include the needful so include order doesn't matter. 2020-08-28 07:01:57 +00:00
in_print.c
in_proto.c
in_proto.h
in_selsrc.c
in_selsrc.h
in_systm.h netinet: Include the needful so include order doesn't matter. 2020-08-28 07:01:57 +00:00
in_var.h mv <sys/cprng.h> include to the kernel portion 2021-03-08 22:01:18 +00:00
ip.h fix various typos in comments. 2022-04-17 21:24:52 +00:00
ip6.h netinet/netinet6: Add necessary includes to make these standalone. 2021-03-07 15:01:00 +00:00
ip_carp.c carp: Register carp_carpdev_state to link-state change hook 2021-09-30 03:43:25 +00:00
ip_carp.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c Mark KASSERT-only variable __diagused. 2020-08-22 01:43:07 +00:00
ip_encap.h
ip_flow.c - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
ip_icmp.c
ip_icmp.h fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
ip_input.c remove now unused pseudo-random ip id code. 2021-03-08 18:03:25 +00:00
ip_mroute.c s/heaader/header/ 2022-03-15 21:39:59 +00:00
ip_mroute.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
ip_output.c Add IP_BINDANY, IPV6_BINDANY which can be used to bind to any address in 2020-09-08 14:12:57 +00:00
ip_private.h - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
ip_reass.c fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
ip_var.h fix various typos in comments and output/log messages. 2022-04-10 09:50:44 +00:00
pim.h
pim_var.h
portalgo.c
portalgo.h
raw_ip.c Refactor like in_pcb.c:r1.187 and in6_pcb.c:r1.168. 2022-06-13 09:23:23 +00:00
sctp.h fix various typos in comments, mainly copypasta. 2021-10-24 20:00:11 +00:00
sctp_asconf.c
sctp_asconf.h
sctp_constants.h s/yeild/yield/ 2022-05-18 13:37:52 +00:00
sctp_crc32.c
sctp_crc32.h
sctp_hashdriver.c
sctp_hashdriver.h
sctp_header.h s/convience/convenience/ in comment. 2021-12-05 04:28:53 +00:00
sctp_indata.c fix various typos in comments. 2022-05-28 22:16:43 +00:00
sctp_indata.h
sctp_input.c s/postion/position/ 2022-04-08 10:27:04 +00:00
sctp_input.h
sctp_output.c fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
sctp_output.h
sctp_pcb.c fix various typos in comments. 2022-05-28 22:16:43 +00:00
sctp_pcb.h fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
sctp_peeloff.c
sctp_peeloff.h
sctp_route.h
sctp_structs.h
sctp_timer.c fix various typos, mainly in comments. 2022-02-16 22:00:55 +00:00
sctp_timer.h
sctp_uio.h
sctp_usrreq.c fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
sctp_var.h Do sctp_connectx() handling using ioctl() for IPv6 as well. 2020-04-27 19:21:43 +00:00
sctputil.c s/postion/position/ 2022-04-08 10:27:04 +00:00
sctputil.h
tcp.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
tcp_congctl.c s/threshhold/threshold 2021-07-31 20:29:36 +00:00
tcp_congctl.h
tcp_debug.c
tcp_debug.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
tcp_fsm.h
tcp_input.c fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
tcp_output.c s/bandwith/bandwidth/ 2021-12-30 23:03:44 +00:00
tcp_private.h - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
tcp_sack.c
tcp_seq.h
tcp_subr.c Remove confusable comment. 2022-06-27 01:29:51 +00:00
tcp_timer.c Add some randomness to the iss offset 2021-03-08 17:54:43 +00:00
tcp_timer.h
tcp_usrreq.c tcp(4): Bail early on sendoob if not connected. 2022-06-28 01:44:19 +00:00
tcp_var.h s/threshhold/threshold 2021-07-31 20:29:36 +00:00
tcp_vtw.c fix typos in words "pointer" and s/fram /frame/ 2021-08-13 20:47:54 +00:00
tcp_vtw.h
tcpip.h
udp.h CTASSERT -> __CTASSERT to unbreak userland build. 2021-02-03 18:13:13 +00:00
udp_private.h - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
udp_usrreq.c - Make ALIGNED_POINTER use __alignof(t) instead of sizeof(t). This is more 2021-02-19 14:51:59 +00:00
udp_var.h Sprinkle CTASSERT to enforce on-wire layout without __packed 2021-02-03 11:53:43 +00:00
wqinput.c
wqinput.h