All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.4-only] openvswitch: clear sender cpu before forwarding packets
@ 2017-05-16 14:25 Anoob Soman
  2017-05-16 19:55 ` Joe Stringer
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Anoob Soman @ 2017-05-16 14:25 UTC (permalink / raw)
  To: stable; +Cc: pshelar, davem, netdev, dev, linux-kernel, Anoob Soman

Similar to commit c29390c6dfee ("xps: must clear sender_cpu before
forwarding") the skb->sender_cpu needs to be cleared before forwarding
packets.

Fixes: 2bd82484bb4c ("xps: fix xps for stacked devices")
Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
---
 net/openvswitch/vport.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index 31cbc8c..a4887e7 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -503,6 +503,7 @@ void ovs_vport_send(struct vport *vport, struct sk_buff *skb)
 	}
 
 	skb->dev = vport->dev;
+	skb_sender_cpu_clear(skb);
 	vport->ops->send(skb);
 	return;
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-05-21  8:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16 14:25 [PATCH 4.4-only] openvswitch: clear sender cpu before forwarding packets Anoob Soman
2017-05-16 19:55 ` Joe Stringer
2017-05-17  8:19 ` Greg KH
2017-05-17  8:19   ` Greg KH
2017-05-17  9:21   ` Anoob Soman
2017-05-18  8:11     ` Greg KH
2017-05-18  8:11       ` Greg KH
2017-05-19 10:28       ` Anoob Soman
2017-05-21  8:47 ` kbuild test robot
2017-05-21  8:47   ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.