commit | 6b4f92af3d59e882d3ba04c44a815266890d188f | [log] [tgz] |
---|---|---|
author | Stefano Brivio <sbrivio@redhat.com> | Fri Oct 12 23:53:59 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 17 21:51:13 2018 -0700 |
tree | 8446305611f6d7e76b1470f1ca91f8bdb822b7bf | |
parent | 7463e4f9b99c089cc962033b46349ff29f466e40 [diff] |
geneve, vxlan: Don't set exceptions if skb->len < mtu 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 <sbrivio@redhat.com> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>