commit | 06770843c2f0f929a6e0c758dc433902a01aabfb | [log] [tgz] |
---|---|---|
author | Breno Leitao <leitao@linux.vnet.ibm.com> | Tue Sep 02 17:28:58 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 02 17:28:58 2008 -0700 |
tree | b579cbcf3f960289cfe5c586f7e38a03abc88df6 | |
parent | 9d7d74029e0f5fde3b88b39892b9b9cfdf4ea10a [diff] |
ipv: Re-enable IP when MTU > 68 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>