mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anoob Soman <anoob.soman@citrix.com>
To: <stable@vger.kernel.org>
Cc: <pshelar@nicira.com>, <davem@davemloft.net>,
	<netdev@vger.kernel.org>, <dev@openvswitch.org>,
	<linux-kernel@vger.kernel.org>,
	Anoob Soman <anoob.soman@citrix.com>
Subject: [PATCH 4.4-only] openvswitch: clear sender cpu before forwarding packets
Date: Tue, 16 May 2017 15:25:10 +0100	[thread overview]
Message-ID: <1494944710-7901-1-git-send-email-anoob.soman@citrix.com> (raw)

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

             reply	other threads:[~2017-05-16 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 14:25 Anoob Soman [this message]
2017-05-16 19:55 ` Joe Stringer
2017-05-17  8:19 ` Greg KH
2017-05-17  9:21   ` Anoob Soman
2017-05-18  8:11     ` Greg KH
2017-05-19 10:28       ` Anoob Soman
2017-05-21  8:47 ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494944710-7901-1-git-send-email-anoob.soman@citrix.com \
    --to=anoob.soman@citrix.com \
    --cc=davem@davemloft.net \
    --cc=dev@openvswitch.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pshelar@nicira.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome