| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [patch 2.5.44+] IpInUnknownProtos support |
| From: | Nivedita Singhvi <niv@xxxxxxxxxx> |
| Date: | Mon, 28 Oct 2002 17:18:04 -0800 (PST) |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
This adds the update for the SNMP MIB counter
IpInUnknownProtos (to catch all those unrecognized
sctp packets ;)) for ipv4.
thanks,
Nivedita
diff -urN linux-2.5.44s1/net/ipv4/ip_input.c linux-2.5.44s2/net/ipv4/ip_input.c
--- linux-2.5.44s1/net/ipv4/ip_input.c Mon Oct 28 17:05:40 2002
+++ linux-2.5.44s2/net/ipv4/ip_input.c Mon Oct 28 17:00:58 2002
@@ -240,6 +240,7 @@
IP_INC_STATS_BH(IpInDelivers);
} else {
if (!raw_sk) {
+ IP_INC_STATS_BH(IpInUnknownProtos);
icmp_send(skb, ICMP_DEST_UNREACH,
ICMP_PROT_UNREACH, 0);
} else
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | sctp snmp mib stats in /proc/net/snmp, Nivedita Singhvi |
|---|---|
| Next by Date: | [BK/GNU] net driver series 13, Jeff Garzik |
| Previous by Thread: | sctp snmp mib stats in /proc/net/snmp, Nivedita Singhvi |
| Next by Thread: | Re: [patch 2.5.44+] IpInUnknownProtos support, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |