NetBSD/sys/netinet6
kamil 5762fe1be2 Decorate struct in6_addr with the __packed attribute
This avoids undefined behavior when accessing misaligned pointers.

Detected by kUBSan.

Patch by Akul Pillai.
2019-05-28 03:56:46 +00:00
..
Makefile
dccp6_usrreq.c
dccp6_var.h
dest6.c
files.netinet6
frag6.c
icmp6.c Replace: M_COPY_PKTHDR -> m_copy_pkthdr. No functional change, since the 2018-12-22 14:07:53 +00:00
icmp6_private.h
in6.c rtsock: Route address message simplification 2019-04-29 11:57:22 +00:00
in6.h Decorate struct in6_addr with the __packed attribute 2019-05-28 03:56:46 +00:00
in6_cksum.c
in6_gif.c
in6_gif.h
in6_ifattach.c
in6_ifattach.h
in6_l2tp.c
in6_l2tp.h
in6_offload.c PR kern/53562 2018-12-12 01:40:20 +00:00
in6_offload.h PR kern/53562 2018-12-12 01:40:20 +00:00
in6_pcb.c Get rid of IFNET_LOCK for if_mcast_op to avoid a deadlock 2019-05-15 02:59:18 +00:00
in6_pcb.h Support IPv6 NAT-T. Implemented by hsuenaga@IIJ and ohishi@IIJ. 2018-11-22 04:48:34 +00:00
in6_print.c
in6_proto.c
in6_src.c
in6_var.h
ip6_flow.c
ip6_forward.c Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6_id.c
ip6_input.c Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6_mroute.c
ip6_mroute.h
ip6_output.c Get rid of IFNET_LOCK for if_mcast_op to avoid a deadlock 2019-05-15 02:59:18 +00:00
ip6_private.h
ip6_var.h Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6protosw.h Fix typos in comment: 2019-03-19 13:38:53 +00:00
mld6.c Replace M_ALIGN and MH_ALIGN by m_align. 2018-12-22 14:28:56 +00:00
mld6_var.h
nd6.c print the name of the interface that was disabled. 2019-05-13 02:03:07 +00:00
nd6.h
nd6_nbr.c Introduce rt_addrmsg_src which adds RTA_AUTHOR to the message. 2019-04-29 16:12:30 +00:00
nd6_rtr.c rtsock: Route address message simplification 2019-04-29 11:57:22 +00:00
pim6.h
pim6_var.h
raw_ip6.c RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions. 2019-02-25 06:49:44 +00:00
raw_ip6.h
route6.c
scope6.c
scope6_var.h
sctp6_usrreq.c RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions. 2019-02-25 06:49:44 +00:00
sctp6_var.h
udp6.h
udp6_private.h
udp6_usrreq.c Fix the order in udp6_attach: soreserve should be called before 2019-02-25 07:31:32 +00:00
udp6_var.h Support IPv6 NAT-T. Implemented by hsuenaga@IIJ and ohishi@IIJ. 2018-11-22 04:48:34 +00:00