aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Hemminger <[email protected]>2018-07-27 13:43:23 -0700
committerDavid S. Miller <[email protected]>2018-07-29 12:57:26 -0700
commit7a4c53bee3324ac00bf964aa2f82d15d279e86e4 (patch)
tree39a64c3a2deb287eafc2bea2b4fa88d9ddf23b09 /tools/perf/scripts/python
parent3e7a50ceb11ea75c27e944f1a01e478fd62a2d8d (diff)
net: report invalid mtu value via netlink extack
If an invalid MTU value is set through rtnetlink return extra error information instead of putting message in kernel log. For other cases where there is no visible API, keep the error report in the log. Example: # ip li set dev enp12s0 mtu 10000 Error: mtu greater than device maximum. # ifconfig enp12s0 mtu 10000 SIOCSIFMTU: Invalid argument # dmesg | tail -1 [ 2047.795467] enp12s0: mtu greater than device maximum Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions