android_kernel_sony_sdm845/include/net/sctp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marcelo Ricardo Leitner 5030f66824 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
[ Upstream commit 471e39df96b9a4c4ba88a2da9e25a126624d7a9c ]

If a socket is set ipv6only, it will still send IPv4 addresses in the
INIT and INIT_ACK packets. This potentially misleads the peer into using
them, which then would cause association termination.

The fix is to not add IPv4 addresses to ipv6only sockets.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tested-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-30 15:38:39 -04:00
..
auth.h sctp: Use shash 2016-01-27 20:36:15 +08:00
checksum.h sctp: get sctphdr by offset in sctp_compute_cksum 2019-04-03 06:24:15 +02:00
command.h sctp: handle association restarts when the socket is closed. 2014-10-06 00:21:45 -04:00
constants.h sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket 2020-06-30 15:38:39 -04:00
sctp.h sctp: fix the issue that flags are ignored when using kernel_connect 2019-11-06 12:18:26 +01:00
sm.h sctp: improve how SSN, TSN and ASCONF serial are compared 2016-09-23 06:54:58 -04:00
structs.h sctp: cache netns in sctp_ep_common 2019-12-05 15:35:29 +01:00
tsnmap.h
ulpevent.h sctp: potential read out of bounds in sctp_ulpevent_type_enabled() 2017-10-12 11:51:20 +02:00
ulpqueue.h