nlmon: use core MTU range checking in nlmon driver
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 7 Dec 2016 09:26:05 +0000 (17:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 18:28:26 +0000 (13:28 -0500)
commite82621e329b61ab8d6f0c987376512cf420ac9fe
treeb7f5ee6ecbb32330706f7ec1913f352dfd3457a7
parenta1f5315ce4e1700e65255c617561aa7d8f09a729
nlmon: use core MTU range checking in nlmon driver

Since commit 61e84623ace3 ("net: centralize net_device min/max MTU checking"),
mtu range is checked at dev_set_mtu().

This patch adds min_mtu for nlmon device and remove unnecessary
ndo_change_mtu() function.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/nlmon.c