summaryrefslogtreecommitdiffstats
path: root/include/linux/bpf-cgroup.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-12-17 17:13:20 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-17 17:13:20 +0100
commit28055c9710e7ab1479d018224be697f63eac2daa (patch)
treeddae48385faf13e6537d82b1f72cff8553456a9a /include/linux/bpf-cgroup.h
parentbpf, test_verifier: fix a test case error result on unprivileged (diff)
parentinet: Fix get port to handle zero port number with soreuseport set (diff)
downloadlinux-28055c9710e7ab1479d018224be697f63eac2daa.tar.xz
linux-28055c9710e7ab1479d018224be697f63eac2daa.zip
Merge branch 'inet_csk_get_port-and-soreusport-fixes'
Tom Herbert says: ==================== inet: Fixes for inet_csk_get_port and soreusport This patch set fixes a couple of issues I noticed while debugging our softlockup issue in inet_csk_get_port. - Don't allow jump into port scan in inet_csk_get_port if function was called with non-zero port number (looking up explicit port number). - When inet_csk_get_port is called with zero port number (ie. perform scan) an reuseport is set on the socket, don't match sockets that also have reuseport set. The intent from the user should be to get a new port number and then explictly bind other sockets to that number using soreuseport. Tested: Ran first patch on production workload with no ill effect. For second patch, ran a little listener application and first demonstrated that unbound sockets with soreuseport can indeed be bound to unrelated soreuseport sockets. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions