commit | c7b37c769d2a5e711106a3c793140a4f46768e04 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Mon Jun 24 22:04:48 2019 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Jul 01 06:16:40 2019 +0200 |
tree | 49ad85e5a624504acf57dd79b59f28a0913711e5 | |
parent | 8928aa6a007d0a58f500b79812ea8147ec477090 [diff] |
xfrm: remove get_mtu indirection from xfrm_type esp4_get_mtu and esp6_get_mtu are exactly the same, the only difference is a single sizeof() (ipv4 vs. ipv6 header). Merge both into xfrm_state_mtu() and remove the indirection. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>