netpoll: netpoll_poll_dev() should access dev->flags
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 14 Feb 2012 10:11:59 +0000 (10:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:30:58 +0000 (16:30 -0800)
commit39994fb222e62650dc945af466f15f0696f9db7b
tree61cc056564f40991c8d218a07a0540ed3d7743ba
parent1b22d2ddf4f62bc4f600f9b4c5d9d6ad65dcca14
netpoll: netpoll_poll_dev() should access dev->flags

[ Upstream commit 58e05f357a039a94aa36475f8c110256f693a239 ]

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 <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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/netpoll.c