]> git.baikalelectronics.ru Git - kernel.git/commit
net: report min and max mtu network device settings
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 27 Jul 2018 20:43:22 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 19:57:26 +0000 (12:57 -0700)
commit0abd5a7d7c6b9729f5d5367576b0f9e0f4cc2299
treeea1f9195410352b6ab92a90641821a9024fc1907
parent32587d0073c1f737921262f347e7c42ee4c838aa
net: report min and max mtu network device settings

Report the minimum and maximum MTU allowed on a device
via netlink so that it can be displayed by tools like
ip link.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/core/rtnetlink.c