Eric Dumazet b1227d019f ipvlan: fix various issues in ipvlan_process_multicast()
1) netif_rx() / dev_forward_skb() should not be called from process
context.

2) ipvlan_count_rx() should be called with preemption disabled.

3) We should check if ipvlan->dev is up before feeding packets
to netif_rx()

4) We need to prevent device from disappearing if some packets
are in the multicast backlog.

5) One kfree_skb() should be a consume_skb() eventually

Fixes: ba35f8588f47 ("ipvlan: Defer multicast / broadcast processing to
a work-queue")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-23 17:53:47 -05:00
..
2016-12-22 10:19:32 -08:00
2016-12-16 11:23:34 -08:00
2016-12-15 16:03:25 -08:00
2016-12-22 14:34:55 +01:00
2016-12-16 00:13:32 +02:00
2016-12-18 15:49:10 -08:00
2016-12-14 20:42:45 -08:00
2016-12-14 11:14:28 -08:00
2016-12-19 08:16:26 -08:00
2016-12-15 13:49:34 -08:00
2016-12-19 08:16:26 -08:00
2016-12-22 10:19:32 -08:00
2016-12-13 16:39:21 -08:00
2016-12-22 10:19:32 -08:00
2016-12-16 09:39:16 -08:00
2016-12-14 10:49:33 -08:00
2016-12-19 08:16:26 -08:00
2016-12-16 09:26:42 -08:00
2016-12-17 16:41:10 -08:00
2016-12-18 15:49:10 -08:00
2016-12-15 12:46:48 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 10:49:33 -08:00
2016-12-15 15:50:24 -08:00
2016-12-18 15:45:33 -08:00
2016-12-15 11:45:13 -08:00
2016-12-19 08:16:26 -08:00
2016-12-15 16:03:25 -08:00
2016-12-13 08:52:45 -08:00
2016-12-18 18:18:03 -08:00
2016-12-23 10:36:19 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 20:42:45 -08:00
2016-12-14 20:42:45 -08:00
2016-12-16 09:26:42 -08:00