Skip to content

Commit

Permalink
netpoll: netpoll_poll_dev() should access dev->flags
Browse files Browse the repository at this point in the history
commit 5a698af (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 <eric.dumazet@gmail.com>
Cc: WANG Cong <amwang@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Feb 14, 2012
1 parent f65bd5e commit 58e05f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 58e05f3

Please sign in to comment.