Le 14/12/2015 23:44, Vladislav Yasevich a écrit :
skb_reorder_vlan_header is called after the vlan header has
been pulled.  As a result the offset of the begining of
the mac header has been incrased by 4 bytes (VLAN_HLEN).
When moving the mac addresses, include this incrase in
the offset calcualation so that the mac addresses are
copied correctly.

Fixes: a6e18ff1117 (vlan: Fix untag operations of stacked vlans with 
REORDER_HEADER off)
CC: Nicolas Dichtel <nicolas.dich...@6wind.com>
CC: Patrick McHardy <ka...@trash.net>
Signed-off-by: Vladislav Yasevich <vyasev...@gmail.com>
Thank you for the fix. A bit late, but for the record:

Tested-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to