Re: [PATCH net-next v4] vxlan: fix ND proxy when skb doesn't have transport header offset

2017-04-03 Thread David Miller
From: Vincent Bernat Date: Sun, 2 Apr 2017 11:00:06 +0200 > When an incoming frame is tagged or when GRO is disabled, the skb > handled to vxlan_xmit() doesn't contain a valid transport header > offset. This makes ND proxying fail. > > We combine two changes: replace use of skb_transport_offset

[PATCH net-next v4] vxlan: fix ND proxy when skb doesn't have transport header offset

2017-04-02 Thread Vincent Bernat
When an incoming frame is tagged or when GRO is disabled, the skb handled to vxlan_xmit() doesn't contain a valid transport header offset. This makes ND proxying fail. We combine two changes: replace use of skb_transport_offset() and ensure the necessary amount of skb is linear just before using i