[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181001.232620.711677688066278437.davem@davemloft.net>
Date: Mon, 01 Oct 2018 23:26:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: davej@...emonkey.org.uk
Cc: netdev@...r.kernel.org, xiyou.wangcong@...il.com
Subject: Re: bond: take rcu lock in netpoll_send_skb_on_dev
From: Dave Jones <davej@...emonkey.org.uk>
Date: Fri, 28 Sep 2018 16:26:08 -0400
> The bonding driver lacks the rcu lock when it calls down into
> netdev_lower_get_next_private_rcu from bond_poll_controller, which
> results in a trace like:
...
> We're also doing rcu dereferences a layer up in netpoll_send_skb_on_dev
> before we call down into netpoll_poll_dev, so just take the lock there.
>
> Suggested-by: Cong Wang <xiyou.wangcong@...il.com>
> Signed-off-by: Dave Jones <davej@...emonkey.org.uk>
Applied and queued up for -stable.
Powered by blists - more mailing lists