* [patch 2.5.44+] IpInUnknownProtos support
@ 2002-10-29 1:18 Nivedita Singhvi
2002-10-29 17:32 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Nivedita Singhvi @ 2002-10-29 1:18 UTC (permalink / raw)
To: davem; +Cc: netdev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 2.5.44+] IpInUnknownProtos support
2002-10-29 1:18 [patch 2.5.44+] IpInUnknownProtos support Nivedita Singhvi
@ 2002-10-29 17:32 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2002-10-29 17:32 UTC (permalink / raw)
To: niv; +Cc: netdev
From: Nivedita Singhvi <niv@us.ibm.com>
Date: Mon, 28 Oct 2002 17:18:04 -0800 (PST)
This adds the update for the SNMP MIB counter
IpInUnknownProtos (to catch all those unrecognized
sctp packets ;)) for ipv4.
I've applied this patch, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-29 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 1:18 [patch 2.5.44+] IpInUnknownProtos support Nivedita Singhvi
2002-10-29 17:32 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).