Commit 5ce917a7 authored by Nivedita Singhvi's avatar Nivedita Singhvi Committed by David S. Miller

[IPV4]: Add missing IpInUnknownProtos bump.

parent 2fe7d1a6
...@@ -250,6 +250,7 @@ static inline int ip_local_deliver_finish(struct sk_buff *skb) ...@@ -250,6 +250,7 @@ static inline int ip_local_deliver_finish(struct sk_buff *skb)
IP_INC_STATS_BH(IpInDelivers); IP_INC_STATS_BH(IpInDelivers);
} else { } else {
if (!raw_sk) { if (!raw_sk) {
IP_INC_STATS_BH(IpInUnknownProtos);
icmp_send(skb, ICMP_DEST_UNREACH, icmp_send(skb, ICMP_DEST_UNREACH,
ICMP_PROT_UNREACH, 0); ICMP_PROT_UNREACH, 0);
} else } else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment