aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-12 06:21:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:01:49 -0500
commit50eb431d6e98189eb40606fcd4d03ecd8e168afa (patch)
treefd74d174a0d45c921ad63d66263c9ad5354c3fee /net/ipv6
parent1486cbd777316e55aa30aeb37e231ce618c29d2e (diff)
[IPV6] route: kill some bloat
net/ipv6/route.c: ip6_pkt_prohibit_out | -130 ip6_pkt_discard | -261 ip6_pkt_discard_out | -130 ip6_pkt_prohibit | -261 4 functions changed, 782 bytes removed, diff: -782 net/ipv6/route.c: ip6_pkt_drop | +300 1 function changed, 300 bytes added, diff: +300 net/ipv6/route.o: 5 functions changed, 300 bytes added, 782 bytes removed, diff: -482 Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 48c8d7cb9020..a429900d16aa 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1763,8 +1763,7 @@ int ipv6_route_ioctl(unsigned int cmd, void __user *arg)
1763 * Drop the packet on the floor 1763 * Drop the packet on the floor
1764 */ 1764 */
1765 1765
1766static inline int ip6_pkt_drop(struct sk_buff *skb, int code, 1766static int ip6_pkt_drop(struct sk_buff *skb, int code, int ipstats_mib_noroutes)
1767 int ipstats_mib_noroutes)
1768{ 1767{
1769 int type; 1768 int type;
1770 switch (ipstats_mib_noroutes) { 1769 switch (ipstats_mib_noroutes) {