aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJarod Wilson <[email protected]>2017-03-06 08:48:58 -0500
committerDavid S. Miller <[email protected]>2017-03-08 22:19:17 -0800
commit3331aa378e9bcbd0d16de9034b0c20f4050e26b4 (patch)
tree1a733746b224f8bf201607ac38d98a77b85642f9 /tools/perf/util/c++/clang.cpp
parentaac1561ad98e74f6ea43337f9b9714ab0b1f493e (diff)
team: use ETH_MAX_MTU as max mtu
This restores the ability to set a team device's mtu to anything higher than 1500. Similar to the reported issue with bonding, the team driver calls ether_setup(), which sets an initial max_mtu of 1500, while the underlying hardware can handle something much larger. Just set it to ETH_MAX_MTU to support all possible values, and the limitations of the underlying devices will prevent setting anything too large. Fixes: 91572088e3fd ("net: use core MTU range checking in core net infra") CC: Cong Wang <[email protected]> CC: Jiri Pirko <[email protected]> CC: [email protected] Signed-off-by: Jarod Wilson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions