diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2008-09-03 02:28:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-03 02:28:58 +0200 |
commit | 06770843c2f0f929a6e0c758dc433902a01aabfb (patch) | |
tree | b579cbcf3f960289cfe5c586f7e38a03abc88df6 /net/xfrm | |
parent | net/xfrm: Use an IS_ERR test rather than a NULL test (diff) | |
download | linux-06770843c2f0f929a6e0c758dc433902a01aabfb.tar.xz linux-06770843c2f0f929a6e0c758dc433902a01aabfb.zip |
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/xfrm')
0 files changed, 0 insertions, 0 deletions