summaryrefslogtreecommitdiffstats
path: root/net/tipc/link.c
diff options
context:
space:
mode:
authorBreno Leitao2008-09-03 02:28:58 +0200
committerDavid S. Miller2008-09-03 02:28:58 +0200
commit06770843c2f0f929a6e0c758dc433902a01aabfb (patch)
treeb579cbcf3f960289cfe5c586f7e38a03abc88df6 /net/tipc/link.c
parentnet/xfrm: Use an IS_ERR test rather than a NULL test (diff)
downloadkernel-qcow2-linux-06770843c2f0f929a6e0c758dc433902a01aabfb.tar.gz
kernel-qcow2-linux-06770843c2f0f929a6e0c758dc433902a01aabfb.tar.xz
kernel-qcow2-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/tipc/link.c')
0 files changed, 0 insertions, 0 deletions