Re: [PATCH net-next v2 2/3] openvswitch: remove unreachable code in vlan parsing

From
Jiri Benc <hidden>
Date
2016-10-06 09:08:43
Reply to
Pravin Shelar, 2016-10-06
On Wed, 5 Oct 2016 22:22:13 -0700, Pravin Shelar wrote:
User can turn off TX vlan offload for OVS internal device that would
allow vlan tagged packet with vlan header on the skb-data. This case
will cause issue here.
Good catch. This is the feedback I hoped for, not the bikesheding about
a value of unused variable :-)
We could handle this case by not allowing this configuration.
I'm not sure how clean this is but let's try and see if anyone objects.
I'll send v3.

I also noticed we don't set NETIF_F_HW_VLAN_STAG_TX on internal ports.
I'll fix it, too.

Thanks!

 Jiri
Thread (13 messages) 13 messages, 4 authors, last reply 2016-10-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help