]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: process sk_reuseport in sctp_get_port_local
authorXin Long <lucien.xin@gmail.com>
Mon, 12 Nov 2018 10:27:17 +0000 (18:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Nov 2018 17:09:51 +0000 (09:09 -0800)
commit99d064d4b11890c2be45927cf145c52bed4ee82e
treea6b2fb0d82b8485b7fe53e52ba2d136039cba76c
parent7b1576ea86d2603655851e111a8ef8b6ff923a46
sctp: process sk_reuseport in sctp_get_port_local

When socks' sk_reuseport is set, the same port and address are allowed
to be bound into these socks who have the same uid.

Note that the difference from sk_reuse is that it allows multiple socks
to listen on the same port and address.

Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/socket.c