alistair23-linux/drivers/net/ipvlan
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: ba35f8588f ("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
..
ipvlan.h driver: ipvlan: Free ipvl_port directly with kfree instead of kfree_rcu 2016-12-07 13:21:21 -05:00
ipvlan_core.c ipvlan: fix various issues in ipvlan_process_multicast() 2016-12-23 17:53:47 -05:00
ipvlan_main.c ipvlan: fix various issues in ipvlan_process_multicast() 2016-12-23 17:53:47 -05:00
Makefile