OSDN Git Service

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:34:06 +0000 (16:34 -0800)
commit9f8a28dca634c4aa13127ed2ea5de94c1e47dbb7
tree3897f10686673c82383ae12a8927bfb26990ceb6
parent1831cd9e1fb43c2e700e795827cb9531e679b0ef
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