X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Fip_forward.c;h=a22d11d2911cd4f7772b2d6428a5d525c5cc2f59;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=0923add122b415b8000d46fbad28fcffe217e0cc;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/net/ipv4/ip_forward.c b/net/ipv4/ip_forward.c index 0923add12..a22d11d29 100644 --- a/net/ipv4/ip_forward.c +++ b/net/ipv4/ip_forward.c @@ -21,7 +21,6 @@ * Mike McLagan : Routing by source */ -#include #include #include #include @@ -116,6 +115,7 @@ sr_failed: too_many_hops: /* Tell the sender its packet died... */ + IP_INC_STATS_BH(IPSTATS_MIB_INHDRERRORS); icmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, 0); drop: kfree_skb(skb);