[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071115.185403.138420969.davem@davemloft.net>
Date: Thu, 15 Nov 2007 18:54:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] [IPV4] UDP: Always checksum even if without socket
filter
From: Wang Chen <wangchen@...fujitsu.com>
Date: Fri, 16 Nov 2007 10:46:26 +0800
> The current kernel doesn't verify the udp checksum if user doesn't set a
> socket filter.It's fine for LAN. But for WAN, it's not a good option.
> Shall we fix it? Below is the patch to make udp checksum be always
> available.
>
> [IPV4] UDP: Always checksum even if without socket filter
> Make udp checksum be always available even if without socket filter.
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
It checks the checksum in udp_recvmsg() and udp_poll().
Please do not fix bugs via code inspection without writing
test programs to validate whether there is really a "bug"
here or not.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists