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)
commit3e7a50ceb11ea75c27e944f1a01e478fd62a2d8d
treeea1f9195410352b6ab92a90641821a9024fc1907
parent3260155ac784ae9f4889c6d3e40b85f33e94d098
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