Skip to content
Snippets Groups Projects
Commit 42d1d52e authored by Weidong's avatar Weidong Committed by David S. Miller
Browse files

[IPV4]: Increment ipInHdrErrors when TTL expires.

parent 79320d7e
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment