]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: extract sctp_v6_err_handle function from sctp_v6_err
authorXin Long <lucien.xin@gmail.com>
Tue, 22 Jun 2021 18:04:58 +0000 (14:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 18:28:52 +0000 (11:28 -0700)
commit88a26ba9a95ab76691157e41024bed5710dfe7b8
treeb594d7e5900e002fb017db83a2a0c74c953d2c52
parent01d4a42516f7ce00010b79f901d7c03d3a735237
sctp: extract sctp_v6_err_handle function from sctp_v6_err

This patch is to extract sctp_v6_err_handle() from sctp_v6_err() to
only handle the icmp err after the sock lookup, and it also makes
the code clearer.

sctp_v6_err_handle() will be used in sctp over udp's err handling
in the following patch.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c