ipv: Re-enable IP when MTU > 68
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Wed, 3 Sep 2008 00:28:58 +0000 (17:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 00:28:58 +0000 (17:28 -0700)
Re-enable IP when the MTU gets back to a valid size.

This patch just checks if the in_dev is NULL on a NETDEV_CHANGEMTU event
and if MTU is valid (bigger than 68), then re-enable in_dev.

Also a function that checks valid MTU size was created.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found