summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorJim Paris <jim@jtan.com>2008-01-31 16:36:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:28:21 -0800
commit23717795bee15470b96f9b7aa5ecf4efe14c8e32 (patch)
tree5c9f3d3fc0ef0cddd1af52737128185d90dda9ba /net/core
parentfa4d3c6210380c55cf7f295d28fd981fbcbb828c (diff)
downloadlinux-23717795bee15470b96f9b7aa5ecf4efe14c8e32.tar.bz2
[IPV6]: Update MSS even if MTU is unchanged.
This is needed because in ndisc.c, we have: static void ndisc_router_discovery(struct sk_buff *skb) { // ... if (ndopts.nd_opts_mtu) { // ... if (rt) rt->u.dst.metrics[RTAX_MTU-1] = mtu; rt6_mtu_change(skb->dev, mtu); // ... } Since the mtu is set directly here, rt6_mtu_change_route thinks that it is unchanged, and so it fails to update the MSS accordingly. This patch lets rt6_mtu_change_route still update MSS if old_mtu == new_mtu. Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions