diff options
author | David Wragg <david@weave.works> | 2016-02-18 17:43:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 13:57:15 -0500 |
commit | aeee0e66c6b46cee311be22cb82735763eceb7c3 (patch) | |
tree | 15c5724ed408fbc8fbd5e9d54af92eb48f49758b /drivers/net/vxlan.c | |
parent | 7716682cc58e305e22207d5bb315f26af6b1e243 (diff) | |
download | lwn-aeee0e66c6b46cee311be22cb82735763eceb7c3.tar.gz lwn-aeee0e66c6b46cee311be22cb82735763eceb7c3.zip |
geneve: Refine MTU limit
Calculate the maximum MTU taking into account the size of headers
involved in GENEVE encapsulation, as for other tunnel types.
Changes in v3:
- Correct comment style
Changes in v2:
- Conform more closely to ip_tunnel_change_mtu
- Exclude GENEVE options from max MTU calculation
Signed-off-by: David Wragg <david@weave.works>
Acked-by: Jesse Gross <jesse@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions