summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-10-14 07:50:55 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-15 13:21:10 +0300
commit075718fdaf0efe20223571236c1bf14ca35a7aa1 (patch)
tree9d2dc6eade2421073f138c5b3be74febe9291f91 /net
parentc2402d43d183b11445aed921e7bebcd47ef222f1 (diff)
downloadlinux-075718fdaf0efe20223571236c1bf14ca35a7aa1.tar.xz
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 'net')
0 files changed, 0 insertions, 0 deletions