Thread (10 messages) flat view 10 messages, 4 authors, 2018-10-18

Re: [PATCH net 1/2] geneve, vxlan: Don't check skb_dst() twice

From: Nicolas Dichtel <hidden>
Date: 2018-10-15 18:04:22

Le 12/10/2018 à 23:53, Stefano Brivio a écrit :
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.
Yes, I leave them to avoid calculating the new mtu value when not needed. We are
in the xmit path.
As skb_dst_update_pmtu() is inlined, we probably don't care, but gcc could still
decide to not inline it.


Regards,
Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help