diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2014-04-16 09:01:03 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-04-16 09:01:03 +0200 |
commit | a32452366b7250c42e96a18ffc3ad8db9e0ca3c2 (patch) | |
tree | 99f02a096e25534e967b3b0f8239422b098322db /crypto/aead.c | |
parent | 5596732fa8c14139018ecda8356eabbfb599d830 (diff) | |
download | linux-a32452366b7250c42e96a18ffc3ad8db9e0ca3c2.tar.bz2 |
vti4: Don't count header length twice.
We currently count the size of LL_MAX_HEADER and struct iphdr
twice for vti4 devices, this leads to a wrong device mtu.
The size of LL_MAX_HEADER and struct iphdr is already counted in
ip_tunnel_bind_dev(), so don't do it again in vti_tunnel_init().
Fixes: b9959fd3 ("vti: switch to new ip tunnel code")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions