author | Stefano Brivio <sbrivio@redhat.com> | |
Fri, 12 Oct 2018 21:53:58 +0000 (23:53 +0200) | ||
committer | David S. Miller <davem@davemloft.net> | |
Thu, 18 Oct 2018 04:51:13 +0000 (21:51 -0700) | ||
commit | 7463e4f9b99c089cc962033b46349ff29f466e40 | |
tree | 6fbeefca60c20be0d9a94de89e1c14294f7a2f9d | tree | snapshot (tar.xz tar.gz zip) |
parent | 0ac1077e3a549bf8d35971613e2be05bdbb41a00 | commit | diff |
geneve, vxlan: Don't check skb_dst() twice
Commit f15ca723c1eb ("net: don't call update_pmtu unconditionally") avoids
that we try updating PMTU for a non-existent destination, but didn't clean
up cases where the check was already explicit. Drop those redundant checks.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Commit f15ca723c1eb ("net: don't call update_pmtu unconditionally") avoids
that we try updating PMTU for a non-existent destination, but didn't clean
up cases where the check was already explicit. Drop those redundant checks.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c | diff | blob | history | |
drivers/net/vxlan.c | diff | blob | history |