summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-05-13 06:41:39 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-13 07:43:52 +0200
commitb4411457d5c9062f07f0762f1ddb513d90dd1379 (patch)
tree7fe7d192c2b64f19f66aef83548f224622c68e28 /net/ipv4/udp.c
parenttipc: eliminate risk of double link_up events (diff)
downloadlinux-b4411457d5c9062f07f0762f1ddb513d90dd1379.tar.xz
linux-b4411457d5c9062f07f0762f1ddb513d90dd1379.zip
sunrpc: set SOCK_FASYNC
sunrpc is using SOCKWQ_ASYNC_NOSPACE without setting SOCK_FASYNC, so the recent optimizations done in sk_set_bit() and sk_clear_bit() broke it. There is still the risk that a subsequent sock_fasync() call would clear SOCK_FASYNC, but sunrpc does not use this yet. Fixes: 9317bb69824e ("net: SOCKWQ_ASYNC_NOSPACE optimizations") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Jiri Pirko <jiri@resnulli.us> Reported-by: Huang, Ying <ying.huang@intel.com> Tested-by: Jiri Pirko <jiri@resnulli.us> Tested-by: Huang, Ying <ying.huang@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions