diff options
author | Ursula Braun <[email protected]> | 2016-10-07 15:51:48 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-12 01:56:04 -0400 |
commit | 8c68b1a0e9fa288015f1492e1b342db159734da9 (patch) | |
tree | e4debe75e45f90af24e3cefe45bcf6435b5347a8 /lib/cpu-notifier-error-inject.c | |
parent | 4e0ad32216910905d00a1228379163c6e5057dc4 (diff) |
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 <[email protected]>
Reported-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions