]> 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)
commitcbac6b38eedbf679ac8ea1d0b1f9f1fe4f5c8bd0
treea6b2fb0d82b8485b7fe53e52ba2d136039cba76c
parent0ae36306d0b309d2eb93d0df7cba2ecd616538dd
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