MIB "ipInHdrErrors" error
Subsystems (3)
Quoted 6 lines · Wei Dong
Quoted 3 lines
Also, when kernel receives an IP packet and need to forward, but TTL=1 or TTL=0, kernel just sends an ICMP packet to inform the sender TTL count exceeded, and doesn't increase this counter.
This part of your change seems correct, please just resubmit this part.
The following is the latest patch for MIB ipIHdrErrors.
net/ipv4/ip_forward.c +1 -0
@@ -120,6 +120,7 @@ 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);
Signed-off-by Weidong <[email protected]>
David Miller
maintainerFrom: Wei Dong <[email protected]>
Date: Mon, 12 Jun 2006 16:49:23 +0800
Quoted 8 lines · Wei Dong
Quoted 6 lines
Quoted 3 lines
Also, when kernel receives an IP packet and need to forward, but TTL=1 or TTL=0, kernel just sends an ICMP packet to inform the sender TTL count exceeded, and doesn't increase this counter.
This part of your change seems correct, please just resubmit this part.
The following is the latest patch for MIB ipIHdrErrors.
Patch applied, thanks a lot.