diff options
author | Xin Long <lucien.xin@gmail.com> | 2021-10-14 00:50:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-15 11:21:10 +0100 |
commit | 075718fdaf0efe20223571236c1bf14ca35a7aa1 (patch) | |
tree | 9d2dc6eade2421073f138c5b3be74febe9291f91 /drivers | |
parent | c2402d43d183b11445aed921e7bebcd47ef222f1 (diff) | |
download | linux-075718fdaf0efe20223571236c1bf14ca35a7aa1.tar.bz2 |
sctp: fix transport encap_port update in sctp_vtag_verify
transport encap_port update should be updated when sctp_vtag_verify()
succeeds, namely, returns 1, not returns 0. Correct it in this patch.
While at it, also fix the indentation.
Fixes: a1dd2cf2f1ae ("sctp: allow changing transport encap_port by peer packets")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions