summaryrefslogtreecommitdiff
path: root/net/smc/smc.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2018-05-23 17:38:09 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-23 23:02:35 +0300
commit2351abe6f8736167a187cec867933bc66c3284c0 (patch)
tree514a007832019511de2d7bac67c3ec732aeb783d /net/smc/smc.h
parent8156b0ba7413238e473ef567ebecd755f92275c5 (diff)
downloadlinux-2351abe6f8736167a187cec867933bc66c3284c0.tar.xz
net/smc: return 0 for ioctl calls in states INIT and CLOSED
A connected SMC-socket contains addresses of descriptors for the send buffer and the rmb (receive buffer). Fields of these descriptors are used to determine the answer for certain ioctl requests. Add extra handling for unconnected SMC socket states without valid buffer descriptor addresses. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Reported-by: syzbot+e6714328fda813fc670f@syzkaller.appspotmail.com Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc.h')
0 files changed, 0 insertions, 0 deletions