[patch 2.5.44+] IpInUnknownProtos support

STALE8678d

2 messages, 2 authors, 2002-10-29 · open the first message on its own page

[patch 2.5.44+] IpInUnknownProtos support

From: Nivedita Singhvi <hidden>
Date: 2002-10-29 01:18:04

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

Re: [patch 2.5.44+] IpInUnknownProtos support

From: David S. Miller <hidden>
Date: 2002-10-29 17:32:18

   From: Nivedita Singhvi [off-list ref]
   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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help