]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add SCTP_ADDR_REMOVED event
authorXin Long <lucien.xin@gmail.com>
Tue, 8 Oct 2019 11:27:34 +0000 (19:27 +0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 10 Oct 2019 00:06:58 +0000 (17:06 -0700)
commita5d7ef0043e4e13c8ad31edb88d52ad8a5a5e466
treebe59e7209b1406ea49f85ecbb54715970b513dd9
parent094ef39b1ed6e364db5e3527d5b6d14ce2210de3
sctp: add SCTP_ADDR_REMOVED event

sctp_ulpevent_nofity_peer_addr_change() is called in
sctp_assoc_rm_peer() to send SCTP_ADDR_REMOVED event
when this transport is removed from the asoc.

This event is described in rfc6458#section-6.1.2:

  SCTP_ADDR_REMOVED:  The address is no longer part of the
     association.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/sctp/associola.c