[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150113.175121.383052764979199992.davem@davemloft.net>
Date: Tue, 13 Jan 2015 17:51:21 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, jhs@...atatu.com, kaber@...sh.net
Subject: Re: [patch net-next v2 1/2] net: sched: fix skb->protocol use in
case of accelerated vlan path
From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 13 Jan 2015 17:13:43 +0100
> tc code implicitly considers skb->protocol even in case of accelerated
> vlan paths and expects vlan protocol type here. However, on rx path,
> if the vlan header was already stripped, skb->protocol contains value
> of next header. Similar situation is on tx path.
>
> So for skbs that use skb->vlan_tci for tagging, use skb->vlan_proto instead.
>
> Reported-by: Jamal Hadi Salim <jhs@...atatu.com>
> Signed-off-by: Jiri Pirko <jiri@...nulli.us>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists