projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c42a49
)
sctp: add the missing setting for asoc encap_port
author
Xin Long
<lucien.xin@gmail.com>
Tue, 25 May 2021 02:49:24 +0000
(22:49 -0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 25 May 2021 22:17:26 +0000
(15:17 -0700)
This patch is to add the missing setting back for asoc encap_port.
Fixes: 8dba29603b5c ("sctp: add SCTP_REMOTE_UDP_ENCAPS_PORT sockopt")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c
patch
|
blob
|
history
diff --git
a/net/sctp/socket.c
b/net/sctp/socket.c
index 40f9f6c4a0a1d4592e5eb3e6b28911fde7131f59..a79d193ff872012a913bccad583a77a0d824d65a 100644
(file)
--- a/
net/sctp/socket.c
+++ b/
net/sctp/socket.c
@@
-4473,6
+4473,7
@@
static int sctp_setsockopt_encap_port(struct sock *sk,
transports)
t->encap_port = encap_port;
+ asoc->encap_port = encap_port;
return 0;
}