[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161222.112028.2305636805598303877.davem@davemloft.net>
Date: Thu, 22 Dec 2016 11:20:28 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, maheshb@...gle.com
Subject: Re: [PATCH v2 net] ipvlan: fix various issues in
ipvlan_process_multicast()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 21 Dec 2016 18:00:24 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
> Cc: Mahesh Bandewar <maheshb@...gle.com>
Applied.
Powered by blists - more mailing lists