All: Hello! I was wondering if it is still necessary to apply this patchlet to ip_input.c in order to count discarded packets. This patchlet was part of Robert O's linux symposium presentation in 2005 (http://www.linuxsymposium.org/2005/linuxsymposium_procv2.pdf): #################### --- linux/net/ipv4/ip_input.c.orig Mon Feb 10 19:37:57 2003 +++ linux/net/ipv4/ip_input.c Fri Feb 21 21:42:45 2003 @@ -372,6 +372,23 @@ IP_INC_STATS_BH(IpInDiscards); goto out; } + { + __u8 *data = (__u8 *) skb->data+20; + + /* src and dst port 9 --> pktgen */ + + if(data[0] == 0 && + data[1] == 9 && + data[2] == 0 && + data[3] == 9) { + netdev_rx_stat[smp_processor_id()].fastroute_hit+ +; + goto drop; + } + } + if (!pskb_may_pull(skb, sizeof(struct iphdr))) goto inhdr_error; ################### ip_input.c has changed a bit, so this patchlet would need some modification if it were to be applied. But is it even necessary anymore? Couldn't we count this traffic with iptables? Derick Winkworth CCIE#15672 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html