Re: Fix ipOutNoRoutes counter error for TCP and UDP

2007-05-30 Thread Wei Dong
of memory error while creating route 2) IPSEC disallows communication to that flow ID As a result, we'll probably best limiting the counter increment when the error is either -EHOSTUNREACH or -ENETUNREACH. signed-off-by: Wei Dong [EMAIL PROTECTED] diff -ruNp a/net/ipv4/datagram.c b/net

Re: Fix ipOutNoRoutes counter error for TCP and UDP

2007-05-30 Thread Wei Dong
) Out of memory error while creating route 2) IPSEC disallows communication to that flow ID As a result, we'll probably best limiting the counter increment when the error is either -EHOSTUNREACH or -ENETUNREACH. signed-off-by: Wei Dong [EMAIL PROTECTED] diff -ruNp a/net/ipv4

Re: Fix ipOutNoRoutes counter error for TCP and UDP

2007-03-27 Thread Wei Dong
to that flow ID As a result, we'll probably best limiting the counter increment when the error is either -EHOSTUNREACH or -ENETUNREACH. signed-off-by: Wei Dong [EMAIL PROTECTED] diff -ruNp old/net/ipv4/datagram.c new/net/ipv4/datagram.c --- old/net/ipv4/datagram.c 2007-03-27 18:15

Re: [Patch][IPv6] Fix wrong routing mechanism for Link Local IPv6 packets

2007-01-29 Thread Wei Dong
Hello, Mr yoshfuji Take ping6 for example. Asumming there is a router which has 2 NICs. eth0 on router has ipv6 addr fe80::20c:29ff:fe24:fa0a, eth1 on router has ipv6 addr fe80::20c:29ff:fe24:fa14. Also there is a host connected to router's eth0, and the host's ipv6 addr is

[patch] e100 statistic value rx_bytes error

2006-06-14 Thread Wei Dong
Hi All: When I test linux kernel(2.6.9-16), I found that maybe there is a bug in e100 driver. See function e100_rx_indicate() at line 1847: nic-net_stats.rx_bytes += actual_size; Here, actual_size is the actual size of an ethernent frame sans FCS.And the e100 driver gets it from skb.

Re: MIB ipInHdrErrors error

2006-06-12 Thread Wei Dong
On Mon, 2006-06-12 at 15:24 +0800, Wei Dong wrote: Also, when kernel receives an IP packet and need to forward, but TTL=1 or TTL=0, kernel just sends an ICMP packet to inform the sender TTL count exceeded, and doesn't increase this counter. This part of your change seems correct, please

MIB ipInHdrErrors error

2006-05-25 Thread Wei Dong
-by: Wei Dong [EMAIL PROTECTED] Regards Wei Dong - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html