net: make bonding slaves honour master's skb->priority
Subsystems (3)
PATCH 1/1 net: make bonding slaves honour master's skb->priority
From: Maciej Żenczykowski <[email protected]>
--- drivers/net/bonding/bond_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +0 -1
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) { skb->dev = slave_dev; - skb->priority =1 ; skb->queue_mapping =bond_queue_mapping (skb);
Signature · 1 line
1.7.3.1
Quoted 3 lines · Maciej Żenczykowski
From: Maciej Żenczykowski <[email protected]>
Change-Id: Ieea6ff9aacacb1eb8c52308c8bfe091acbfc09b2
The code change itself is ok, but I'm not sure what this
Change-Id is. With a regular log message, this should be fine to apply.
-J
Quoted 19 lines
Signed-off-by Maciej Żenczykowski <[email protected]>---
drivers/net/bonding/bond_main.c| 1 -1 files changed, 0 insertions(+), 1 deletions(-)drivers/net/bonding/bond_main.c +0
-1@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) { skb->dev = slave_dev; - skb->priority =1 ; skb->queue_mapping =bond_queue_mapping (skb);Signature · 1 line
1.7.3.1
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]
David Miller
maintainerFrom: Maciej Żenczykowski <[email protected]>
Date: Mon, 24 Oct 2011 21:41:00 -0700
Quoted 3 lines
From: Maciej Żenczykowski <[email protected]>
Change-Id: Ieea6ff9aacacb1eb8c52308c8bfe091acbfc09b2
What are these Change-Id tags? Please don't put these in your commit message.
I'm dropping this patch, you'll need to resubmit it without this thing.
These are Gerrit (code review system) commit headers, normally I drop them, I missed that here (they get added automatically by git hooks). I'll send it again.
Sorry.
- Maciej
PATCH 1/1 net: make bonding slaves honour master's skb->priority
In reply to Maciej ŻenczykowskiFrom: Maciej Żenczykowski <[email protected]>
--- drivers/net/bonding/bond_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +0 -1
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) { skb->dev = slave_dev; - skb->priority =1 ; skb->queue_mapping =bond_queue_mapping (skb);
Signature · 1 line
1.7.3.1
Quoted 12 lines · On Mon, 24 Oct 2011 22:04:16 -0700 Maciej Żenczykowski…
From: Maciej Żenczykowski <[email protected]>
Signed-off-by Maciej Żenczykowski <[email protected]>--- drivers/net/bonding/bond_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)(quoted diff) +0
-0
b/drivers/net/bonding/bond_main.cindex 41430ba..2cbc2f8 100644
drivers/net/bonding/bond_main.c int bond_dev_queue_xmit(struct bonding *bond, · line 400
Quoted 7 lines
drivers/net/bonding/bond_main.c +0
-1@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) { skb->dev = slave_dev; - skb->priority =1 ; skb->queue_mapping =bond_queue_mapping (skb);
I tripped on it few times and never understood why we were fixing the priority at this point. thanks,
Quoted 3 lines
I tripped on it few times and never understood why we were fixing the priority at this point. thanks,
It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...
- Maciej
Quoted 7 lines · Maciej Żenczykowski
Quoted 3 lines
I tripped on it few times and never understood why we were fixing the priority at this point. thanks,
It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...
I believe this line goes back to the beginning, prior to git or
bk. The skb->priority probably meant something different than it does today.
In any event, I'm fine with the code change. There's still no
actual log message, but if Davem is ok with that I'm ok with it, given the trivial nature of the change.
-J
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]
From: Jay Vosburgh <[email protected]>
Date: Tue, 25 Oct 2011 09:45:35 -0700
Quoted 14 lines
Quoted 7 lines · Maciej Żenczykowski
Quoted 3 lines
I tripped on it few times and never understood why we were fixing the priority at this point. thanks,
It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...
I believe this line goes back to the beginning, prior to git or
bk. Theskb->priorityprobably meant something different than it does today.
Quoted 5 lines
In any event, I'm fine with the code change. There's still no
actual log message, but if Davem is ok with that I'm ok with it, given the trivial nature of the change.Signed-off-by Jay Vosburgh <[email protected]>
Applied, thanks everyone.