Re: [PATCH net] xfrm: Verify MAC header exists before overwriting eth_hdr(skb)->h_proto

2018-03-07 Thread Steffen Klassert
On Sun, Mar 04, 2018 at 09:03:52PM +0200, yoss...@mellanox.com wrote: > From: Yossi Kuperman > > Artem Savkov reported that commit 5efec5c655dd leads to a packet loss under > IPSec configuration. It appears that his setup consists of a TUN device, > which does not have a MAC header. > > Make sur

[PATCH net] xfrm: Verify MAC header exists before overwriting eth_hdr(skb)->h_proto

2018-03-04 Thread yossiku
From: Yossi Kuperman Artem Savkov reported that commit 5efec5c655dd leads to a packet loss under IPSec configuration. It appears that his setup consists of a TUN device, which does not have a MAC header. Make sure MAC header exists. Note: TUN device sets a MAC header pointer, although it does n