mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
Cc: WANG Cong <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f65bd5ec47
commit
58e05f357a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue