summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2016-10-07 15:51:47 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-12 01:56:04 -0400
commit4e0ad32216910905d00a1228379163c6e5057dc4 (patch)
treeb48d5473773c9ccf469b204816e54e6f0a821e22 /fs
parentb07bf5fa32e0991b2634444652de56066fe311f2 (diff)
downloadlinux-4e0ad32216910905d00a1228379163c6e5057dc4.tar.gz
linux-4e0ad32216910905d00a1228379163c6e5057dc4.tar.bz2
linux-4e0ad32216910905d00a1228379163c6e5057dc4.zip
Subject: [PATCH] af_iucv: enable control sends in case of SEND_SHUTDOWN
If a socket program has shut down the socket for sending, it can still receive an undetermined number of packets. The AF_IUCV protocol for HIPER transport requires sending of a WIN flag from time to time from the receiver to the sender, otherwise the peer cannot continue sending. That means sending of control flags must still work, even though the AF_IUCV socket is shutdown for sending data. sock_alloc_send_skb() returns with error EPIPE, if socket sk_shutdown is SEND_SHUTDOWN. Thus this patch temporarily removes the send shutdown attribute from the socket to enable transfer of control flags. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions