From: Eric Dumazet Date: Tue, 14 Feb 2012 10:11:59 +0000 (+0000) Subject: netpoll: netpoll_poll_dev() should access dev->flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58e05f357a039a94aa36475f8c110256f693a239;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git netpoll: netpoll_poll_dev() should access dev->flags commit 5a698af53f (bond: service netpoll arp queue on master device) tested IFF_SLAVE flag against dev->priv_flags instead of dev->flags Signed-off-by: Eric Dumazet Cc: WANG Cong Acked-by: Neil Horman Signed-off-by: David S. Miller --- diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 556b0829866..ddefc513b44 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -194,7 +194,7 @@ static void netpoll_poll_dev(struct net_device *dev) poll_napi(dev); - if (dev->priv_flags & IFF_SLAVE) { + if (dev->flags & IFF_SLAVE) { if (dev->npinfo) { struct net_device *bond_dev = dev->master; struct sk_buff *skb;