netdev.vger.kernel.org archive mirror
 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
       [not found] ` <1494944710-7901-1-git-send-email-anoob.soman-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
  0 siblings, 2 replies; 7+ 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] 7+ messages in thread

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

Thread overview: 7+ 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
     [not found] ` <1494944710-7901-1-git-send-email-anoob.soman-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
2017-05-17  8:19   ` Greg KH
2017-05-17  9:21     ` Anoob Soman
     [not found]       ` <371bcd34-10fa-867f-8bfb-7f61caf11cbe-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
2017-05-18  8:11         ` Greg KH
2017-05-19 10:28           ` Anoob Soman
2017-05-21  8:47   ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).