summaryrefslogtreecommitdiffstats
path: root/lib/iomap_copy.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-05 16:55:10 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-05 22:32:21 -0700
commit222440996d6daf635bed6cb35041be22ede3e8a0 (patch)
tree5ed476604db578b0c0d1f0bdc2bfc7cd154f7aff /lib/iomap_copy.c
parentee28bb56ac5b4c0c08ef10d33cc7adb749bbf4c6 (diff)
downloadlinux-222440996d6daf635bed6cb35041be22ede3e8a0.tar.gz
linux-222440996d6daf635bed6cb35041be22ede3e8a0.tar.bz2
linux-222440996d6daf635bed6cb35041be22ede3e8a0.zip
net/af_iucv: drop inbound packets with invalid flags
Inbound packets may have any combination of flag bits set in their iucv header. If we don't know how to handle a specific combination, drop the skb instead of leaking it. To clarify what error is returned in this case, replace the hard-coded 0 with the corresponding macro. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions