diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2016-10-07 15:51:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-12 01:56:04 -0400 |
commit | 8c68b1a0e9fa288015f1492e1b342db159734da9 (patch) | |
tree | e4debe75e45f90af24e3cefe45bcf6435b5347a8 /ipc/msgutil.c | |
parent | 4e0ad32216910905d00a1228379163c6e5057dc4 (diff) | |
download | blackbird-op-linux-8c68b1a0e9fa288015f1492e1b342db159734da9.tar.gz blackbird-op-linux-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 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions