From: Daniel Borkmann Date: Sun, 5 Oct 2014 15:27:50 +0000 (+0200) Subject: ipv4: igmp: fix v3 general query drop monitor false positive X-Git-Tag: fixes-against-v3.18-rc2~144^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b47bd8d2795412143a23d2961033c126ce6914d9;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed