aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2016-10-07 15:51:48 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-12 01:56:04 -0400
commit8c68b1a0e9fa288015f1492e1b342db159734da9 (patch)
treee4debe75e45f90af24e3cefe45bcf6435b5347a8 /block
parentSubject: [PATCH] af_iucv: enable control sends in case of SEND_SHUTDOWN (diff)
downloadlinux-dev-8c68b1a0e9fa288015f1492e1b342db159734da9.tar.xz
linux-dev-8c68b1a0e9fa288015f1492e1b342db159734da9.zip
Subject: [PATCH] af_iucv: drop skbs rejected by filter
A packet filter might be installed for instance with setsockopt SO_ATTACH_FILTER. af_iucv currently queues skbs rejected by filter into the backlog queue. This does not make sense, since packets rejected by filter can be dropped immediately. This patch adds separate sk_filter return code checking, and dropping of packets if applicable. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reported-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions