]> Git Repo - linux.git/commit
net: use core MTU range checking in core net infra
authorJarod Wilson <[email protected]>
Thu, 20 Oct 2016 17:55:20 +0000 (13:55 -0400)
committerDavid S. Miller <[email protected]>
Thu, 20 Oct 2016 18:51:09 +0000 (14:51 -0400)
commit91572088e3fdbf4fe31cf397926d8b890fdb3237
tree956c0634c97ac6bac987182d4c09b80c08c56b7c
parent8b6b4135e4fb2b537f33b811c13f77bee25ca8d3
net: use core MTU range checking in core net infra

geneve:
- Merge __geneve_change_mtu back into geneve_change_mtu, set max_mtu
- This one isn't quite as straight-forward as others, could use some
  closer inspection and testing

macvlan:
- set min/max_mtu

tun:
- set min/max_mtu, remove tun_net_change_mtu

vxlan:
- Merge __vxlan_change_mtu back into vxlan_change_mtu
- Set max_mtu to IP_MAX_MTU and retain dynamic MTU range checks in
  change_mtu function
- This one is also not as straight-forward and could use closer inspection
  and testing from vxlan folks

bridge:
- set max_mtu of IP_MAX_MTU and retain dynamic MTU range checks in
  change_mtu function

openvswitch:
- set min/max_mtu, remove internal_dev_change_mtu
- note: max_mtu wasn't checked previously, it's been set to 65535, which
  is the largest possible size supported

sch_teql:
- set min/max_mtu (note: max_mtu previously unchecked, used max of 65535)

macsec:
- min_mtu = 0, max_mtu = 65535

macvlan:
- min_mtu = 0, max_mtu = 65535

ntb_netdev:
- min_mtu = 0, max_mtu = 65535

veth:
- min_mtu = 68, max_mtu = 65535

8021q:
- min_mtu = 0, max_mtu = 65535

CC: [email protected]
CC: Nicolas Dichtel <[email protected]>
CC: Hannes Frederic Sowa <[email protected]>
CC: Tom Herbert <[email protected]>
CC: Daniel Borkmann <[email protected]>
CC: Alexander Duyck <[email protected]>
CC: Paolo Abeni <[email protected]>
CC: Jiri Benc <[email protected]>
CC: WANG Cong <[email protected]>
CC: Roopa Prabhu <[email protected]>
CC: Pravin B Shelar <[email protected]>
CC: Sabrina Dubroca <[email protected]>
CC: Patrick McHardy <[email protected]>
CC: Stephen Hemminger <[email protected]>
CC: Pravin Shelar <[email protected]>
CC: Maxim Krasnyansky <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/geneve.c
drivers/net/macsec.c
drivers/net/macvlan.c
drivers/net/ntb_netdev.c
drivers/net/tun.c
drivers/net/veth.c
drivers/net/vxlan.c
net/8021q/vlan_dev.c
net/bridge/br_device.c
net/openvswitch/vport-internal_dev.c
net/sched/sch_teql.c
This page took 0.062511 seconds and 4 git commands to generate.