Re: [PATCH v2 net] ipvlan: fix various issues in ipvlan_process_multicast()

2016-12-22 Thread David Miller
From: Eric Dumazet Date: Wed, 21 Dec 2016 18:00:24 -0800 > From: Eric Dumazet > > 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 packe

[PATCH v2 net] ipvlan: fix various issues in ipvlan_process_multicast()

2016-12-21 Thread Eric Dumazet
From: Eric Dumazet 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 pa