Skip to content
Commit c5501eb3 authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller
Browse files

net: ipv4: avoid repeated calls to ip_skb_dst_mtu helper



ip_skb_dst_mtu is small inline helper, but its called in several places.

before: 17061      44       0   17105    42d1 net/ipv4/ip_output.o
after:  16805      44       0   16849    41d1 net/ipv4/ip_output.o

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c0ce770
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment