https://github.com/torvalds/linux
Revision 45ebf73ebcec88a34a778f5feaa0b82b1c76069e authored by Jonas Falkevik on 27 May 2020, 09:56:40 UTC, committed by David S. Miller on 28 May 2020, 19:47:02 UTC
Make sure SCTP_ADDR_{MADE_PRIM,ADDED} are sent only for associations
that have been established.

These events are described in rfc6458#section-6.1
SCTP_PEER_ADDR_CHANGE:
This tag indicates that an address that is
part of an existing association has experienced a change of
state (e.g., a failure or return to service of the reachability
of an endpoint via a specific transport address).

Signed-off-by: Jonas Falkevik <jonas.falkevik@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a068aab
History
Tip revision: 45ebf73ebcec88a34a778f5feaa0b82b1c76069e authored by Jonas Falkevik on 27 May 2020, 09:56:40 UTC
sctp: check assoc before SCTP_ADDR_{MADE_PRIM, ADDED} event
Tip revision: 45ebf73
File Mode Size
Kconfig -rw-r--r-- 72.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 16.0 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.4 KB
initramfs.c -rw-r--r-- 14.6 KB
main.c -rw-r--r-- 36.6 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top