summary refs log tree commit diff
path: root/block/elevator.c
diff options
context:
space:
mode:
authorUlrich Weber <uweber@astaro.com>2010-02-26 04:34:49 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-26 04:34:49 -0800
commit14f3ad6f4a12495b32b0dd743bc7179f36658208 (patch)
treebff2b347d1a1755955ba1b37c561b1bff2f6d861 /block/elevator.c
parentfbf219f1c89b15e90ec2db5a3e9636376dc623db (diff)
downloadlinux-14f3ad6f4a12495b32b0dd743bc7179f36658208.tar.gz
ipv6: Use 1280 as min MTU for ipv6 forwarding
Clients will set their MTU to 1280 if they receive a
ICMPV6_PKT_TOOBIG message with an MTU less than 1280.

To allow encapsulating of packets over a 1280 link
we should always accept packets with a size of 1280
for forwarding even if the path has a lower MTU and
fragment the encapsulated packets afterwards.

In case a forwarded packet is not going to be encapsulated
a ICMPV6_PKT_TOOBIG msg will still be send by ip6_fragment()
with the correct MTU.

Signed-off-by: Ulrich Weber <uweber@astaro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions