Commit 297739bd authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

sctp: add the missing setting for asoc encap_port



This patch is to add the missing setting back for asoc encap_port.

Fixes: 8dba2960 ("sctp: add SCTP_REMOTE_UDP_ENCAPS_PORT sockopt")
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c42a497
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}