sctp: add the missing setting for asoc encap_port
This patch is to add the missing setting back for asoc encap_port.
Fixes: 8dba29603b
("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>
This commit is contained in:
parent
8c42a49738
commit
297739bd73
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user