OSDN Git Service

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)
commit6ba84574026792ce33a40c7da721dea36d0f3973
treea6b2fb0d82b8485b7fe53e52ba2d136039cba76c
parent76c6d988aeb3c15d57ea0c245a3b5f27802c1fbe
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