summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-10-05 17:27:50 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-06 23:14:54 +0200
commitb47bd8d2795412143a23d2961033c126ce6914d9 (patch)
treeee5ac84b2ee7065f320089f67c11198423eaf57e /drivers/hsi
parentbonding: Simplify the xmit function for modes that use xmit_hash (diff)
downloadlinux-b47bd8d2795412143a23d2961033c126ce6914d9.tar.xz
linux-b47bd8d2795412143a23d2961033c126ce6914d9.zip
ipv4: igmp: fix v3 general query drop monitor false positive
In case we find a general query with non-zero number of sources, we are dropping the skb as it's malformed. RFC3376, section 4.1.8. Number of Sources (N): This number is zero in a General Query or a Group-Specific Query, and non-zero in a Group-and-Source-Specific Query. Therefore, reflect that by using kfree_skb() instead of consume_skb(). Fixes: d679c5324d9a ("igmp: avoid drop_monitor false positives") Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions