NetBSD/sys/netinet6
kamil fb614f3716 Paper over Undefined Behavior in in6_control1()
Replace calculation of maxexpire (TIME_MAX) with a construct that triggers
UB with a one that uses implementation defined semantics.

No functional change intended.

An attempt to appease KUBSAn.

Detected with Kernel Undefined Behavior Sanitizer.

Reported by <Harry Pantazis>
2018-07-04 00:35:33 +00:00
..
Makefile add l2tp(4) L2TPv3 interface. 2017-02-16 08:12:43 +00:00
dccp6_usrreq.c Tweak softnet_lock and NET_MPSAFE 2017-01-24 07:09:24 +00:00
dccp6_var.h make connect syscall use sockaddr_big and modify pr_{send,connect} 2015-05-02 17:18:03 +00:00
dest6.c style 2018-04-13 11:01:14 +00:00
files.netinet6 Move udp6_output() into udp6_usrreq.c, and remove udp6_output.c. This is 2018-02-08 11:34:35 +00:00
frag6.c When reassembling IPv4/IPv6 packets, ensure each fragment has been subject 2018-05-15 19:16:38 +00:00
icmp6.c Fix _rt_free via rtrequest(RTM_DELETE) hangs in rt_timer handlers 2018-06-01 07:13:35 +00:00
icmp6_private.h
in6.c Paper over Undefined Behavior in in6_control1() 2018-07-04 00:35:33 +00:00
in6.h s/static inline/static __inline/g for consistency. 2018-04-19 21:20:43 +00:00
in6_cksum.c
in6_gif.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_gif.h preserve gif(4) configs by psref(9) like vlan(4) and l2tp(4). 2017-11-27 05:02:22 +00:00
in6_ifattach.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_ifattach.h
in6_l2tp.c sbappendaddr() is required any lock. Currently, softnet_lock is appropriate. 2018-06-21 10:37:49 +00:00
in6_l2tp.h add missing files. 2017-02-16 08:23:35 +00:00
in6_offload.c Rename 2018-06-01 08:56:00 +00:00
in6_offload.h
in6_pcb.c Dedup: merge 2018-02-27 14:44:10 +00:00
in6_pcb.h Make sure im6o_memberships is protected by in6p's lock (solock) 2017-03-02 05:26:24 +00:00
in6_print.c add routines to print in6_addr and sockaddr_in6 (in6_print, sin6_print) 2014-12-02 19:36:58 +00:00
in6_proto.c Increase the default size of some receive buffers from 8k to 16k. 2018-05-11 09:43:59 +00:00
in6_src.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_var.h Make a deletion of in6m in nd6_rtrequest atomic 2018-05-29 04:38:29 +00:00
ip6_etherip.c A few fixes: 2018-01-26 14:47:41 +00:00
ip6_etherip.h
ip6_flow.c Shorten the name of a workqueue instance to fit to the limit (15) 2018-02-06 03:37:00 +00:00
ip6_forward.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
ip6_id.c Use time_uptime instead of time_second to avoid time leaps 2015-08-07 08:11:33 +00:00
ip6_input.c Remove misleading comment. 2018-05-19 06:44:08 +00:00
ip6_mroute.c sbappendaddr() is required any lock. Currently, softnet_lock is appropriate. 2018-06-21 10:37:49 +00:00
ip6_mroute.h Remove notyet, we've never had this. 2018-05-20 06:29:43 +00:00
ip6_output.c Rename 2018-06-01 08:56:00 +00:00
ip6_private.h
ip6_var.h Re-make ip6_nexthdr global, it will be used in soon-to-be-added code... 2018-02-14 05:29:39 +00:00
ip6protosw.h Take softnet_lock on pr_input properly if NET_MPSAFE 2017-09-27 10:05:04 +00:00
ipsec.h
mld6.c Avoid double LIST_REMOVE which corrupts lists 2018-05-29 04:39:26 +00:00
mld6_var.h
nd6.c Make a deletion of in6m in nd6_rtrequest atomic 2018-05-29 04:38:29 +00:00
nd6.h nd6: add a nonce to DaD probes in-case they are looped back to us 2018-03-06 10:57:00 +00:00
nd6_nbr.c Style. 2018-05-19 08:22:58 +00:00
nd6_rtr.c Style. 2018-05-19 08:22:58 +00:00
pim6.h
pim6_var.h
raw_ip6.c Dedup: introduce rip6_sbappendaddr. Same as IPv4. 2018-05-11 14:25:50 +00:00
raw_ip6.h
route6.c Remove this code, RH0 must be dropped, according to RFC5095. FreeBSD and 2018-02-01 16:23:28 +00:00
scope6.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
scope6_var.h PR/52472: Edgar Fuss: Document handling of scoped IPv6 addresses by embedding 2017-08-09 17:20:44 +00:00
sctp6_usrreq.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
sctp6_var.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
udp6.h
udp6_private.h
udp6_usrreq.c Remove unused ipsec_var.h includes. 2018-04-28 13:26:57 +00:00
udp6_var.h make connect syscall use sockaddr_big and modify pr_{send,connect} 2015-05-02 17:18:03 +00:00