Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58e05f35 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

netpoll: netpoll_poll_dev() should access dev->flags



commit 5a698af5 (bond: service netpoll arp queue on master device)
tested IFF_SLAVE flag against dev->priv_flags instead of dev->flags

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Cc: WANG Cong <amwang@redhat.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f65bd5ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -194,7 +194,7 @@ static void netpoll_poll_dev(struct net_device *dev)


	poll_napi(dev);
	poll_napi(dev);


	if (dev->priv_flags & IFF_SLAVE) {
	if (dev->flags & IFF_SLAVE) {
		if (dev->npinfo) {
		if (dev->npinfo) {
			struct net_device *bond_dev = dev->master;
			struct net_device *bond_dev = dev->master;
			struct sk_buff *skb;
			struct sk_buff *skb;