Re: [PATCH net] skbuff: Fix offset error in skb_reorder_vlan_header

2015-12-15 Thread Nicolas Dichtel
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 calcuala

Re: [PATCH net] skbuff: Fix offset error in skb_reorder_vlan_header

2015-12-14 Thread David Miller
From: Vladislav Yasevich Date: Mon, 14 Dec 2015 17:44:10 -0500 > 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 i

[PATCH net] skbuff: Fix offset error in skb_reorder_vlan_header

2015-12-14 Thread Vladislav Yasevich
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.