Re: [PATCH] Fix UDP filter condition when do checksum

2006-07-31 Thread David Miller
From: Wei Yongjun <[EMAIL PROTECTED]> Date: Mon, 31 Jul 2006 06:33:42 -0400 > In udp_queue_rcv_skb(), checksum condition is error. When UDP filter is > set, checksum is be done, but if UDP filter is not set, checksum will > not be done. So I think this is a BUG. It is not a bug, we defer the chec

Re: [PATCH] Fix UDP filter condition when do checksum

2006-07-31 Thread Herbert Xu
Wei Yongjun <[EMAIL PROTECTED]> wrote: > In udp_queue_rcv_skb(), checksum condition is error. When UDP filter is > set, checksum is be done, but if UDP filter is not set, checksum will > not be done. So I think this is a BUG. Following is my patch: > > --- a/net/ipv4/udp.c2006-07-31 09:33:45.3

[PATCH] Fix UDP filter condition when do checksum

2006-07-31 Thread Wei Yongjun
In udp_queue_rcv_skb(), checksum condition is error. When UDP filter is set, checksum is be done, but if UDP filter is not set, checksum will not be done. So I think this is a BUG. Following is my patch: --- a/net/ipv4/udp.c2006-07-31 09:33:45.392479344 -0400 +++ b/net/ipv4/udp.c2006-07-31