aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-08 16:17:55 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-08 16:17:55 -0800
commit8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224 (patch)
treefee1865c2fbfe8fbb67e8aed97fd8df18254d777 /net
parente7b66bdc02592f5573ade667e4d68ac6e7b0f9e1 (diff)
downloadkernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.zip
kernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.tar.gz
kernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.tar.bz2
net: Kill NETEVENT_PMTU_UPDATE.
Nobody actually does anything in response to the event, so just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/route.c1
-rw-r--r--net/ipv6/route.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 2e225da..0455af8 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -1762,7 +1762,6 @@ static void ip_rt_update_pmtu(struct dst_entry *dst, u32 mtu)
}
dst_metric_set(dst, RTAX_MTU, mtu);
dst_set_expires(dst, ip_rt_mtu_expires);
- call_netevent_notifiers(NETEVENT_PMTU_UPDATE, dst);
}
}
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 0a63d44..12ec83d 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -965,7 +965,6 @@ static void ip6_rt_update_pmtu(struct dst_entry *dst, u32 mtu)
dst_metric_set(dst, RTAX_FEATURES, features);
}
dst_metric_set(dst, RTAX_MTU, mtu);
- call_netevent_notifiers(NETEVENT_PMTU_UPDATE, dst);
}
}