aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-03-03 17:54:54 +0800
committerDavid S. Miller <davem@davemloft.net>2019-03-08 11:42:49 -0800
commit60208f79139af0e2f84747d04a2f3321f174a398 (patch)
treed7bee268cb2011bdfa25efb659fe6e286f4092c1 /net/l2tp
parentsctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails (diff)
downloadlinux-dev-60208f79139af0e2f84747d04a2f3321f174a398.tar.xz
linux-dev-60208f79139af0e2f84747d04a2f3321f174a398.zip
sctp: move up sctp_auth_init_hmacs() in sctp_endpoint_init()
sctp_auth_init_hmacs() is called only when ep->auth_enable is set. It better to move up sctp_auth_init_hmacs() and remove auth_enable check in it and check auth_enable only once in sctp_endpoint_init(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions