mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
ebbeb55561
Also add script used to generate patches and SRC_URI Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 005c48bb39dcfbaf47ce8f433af59c8b47976fd7 Mon Sep 17 00:00:00 2001
|
|
From: Eric Dumazet <eric.dumazet@gmail.com>
|
|
Date: Tue, 14 Feb 2012 10:11:59 +0000
|
|
Subject: [PATCH 22/72] 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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
|
|
index 5d4d896..ab0633f 100644
|
|
--- a/net/core/netpoll.c
|
|
+++ b/net/core/netpoll.c
|
|
@@ -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;
|
|
--
|
|
1.7.9.4
|
|
|