Re: [PATCH net 2/2] geneve, vxlan: Don't set exceptions if skb->len < mtu

2018-10-15 Thread Stefano Brivio
On Mon, 15 Oct 2018 15:01:31 +0900 Xin Long wrote: > On Sat, Oct 13, 2018 at 6:54 AM Stefano Brivio wrote: > > > > We shouldn't abuse exceptions: if the destination MTU is already higher > > than what we're transmitting, no exception should be created. > makes sense, shouldn't ip(6) tunnels

Re: [PATCH net 2/2] geneve, vxlan: Don't set exceptions if skb->len < mtu

2018-10-15 Thread Xin Long
On Sat, Oct 13, 2018 at 6:54 AM Stefano Brivio wrote: > > We shouldn't abuse exceptions: if the destination MTU is already higher > than what we're transmitting, no exception should be created. makes sense, shouldn't ip(6) tunnels also do this? > > Fixes: 52a589d51f10 ("geneve: update skb dst

[PATCH net 2/2] geneve, vxlan: Don't set exceptions if skb->len < mtu

2018-10-12 Thread Stefano Brivio
We shouldn't abuse exceptions: if the destination MTU is already higher than what we're transmitting, no exception should be created. Fixes: 52a589d51f10 ("geneve: update skb dst pmtu on tx path") Fixes: a93bf0ff4490 ("vxlan: update skb dst pmtu on tx path") Signed-off-by: Stefano Brivio