Daniel Borkmann b47bd8d279 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>
2014-10-06 17:14:54 -04:00
..
2014-09-10 12:40:10 -07:00
2014-08-22 12:23:11 -07:00
2014-10-04 20:44:44 -04:00
2014-09-30 17:08:06 -04:00
2014-09-10 12:40:10 -07:00
2013-09-23 16:52:45 -04:00
2014-09-07 16:07:25 -07:00
2014-08-13 18:13:19 -06:00
2014-09-10 14:00:58 -07:00
2013-11-21 13:09:42 -05:00