Google
  Web www.spinics.net

Re: [PATCH 1/2] [IPV4] UDP: Always checksum even if without socket filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Wang Chen <wangchen@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Kernel List]     [Site Home]     [Ethernet Bridging]     [Git]     [IETF Annouce]     [Linux Assembly]     [VLAN]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Linux Wireless]     [DDR & Rambus]     [Free Dating]     [Linux Resources]     [Wireless Reading Device]

Add to Google Powered by Linux