diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2008-09-03 04:28:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-03 04:28:58 +0400 |
commit | 06770843c2f0f929a6e0c758dc433902a01aabfb (patch) | |
tree | b579cbcf3f960289cfe5c586f7e38a03abc88df6 /net/tipc/net.h | |
parent | 9d7d74029e0f5fde3b88b39892b9b9cfdf4ea10a (diff) | |
download | linux-06770843c2f0f929a6e0c758dc433902a01aabfb.tar.xz |
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>
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions