lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150105.224703.1033205437426358344.davem@davemloft.net>
Date:	Mon, 05 Jan 2015 22:47:03 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	therbert@...gle.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3 0/4] ip: Support checksum returned in csmg

From: Tom Herbert <therbert@...gle.com>
Date: Mon,  5 Jan 2015 13:56:13 -0800

> This patch set allows the packet checksum for a datagram socket
> to be returned in csum data in recvmsg. This allows userspace
> to implement its own checksum over the data, for instance if an
> IP tunnel was be implemented in user space, the inner checksum
> could be validated.
> 
> Changes in this patch set:
>   - Move checksum conversion to inet_sock from udp_sock. This
>     generalizes checksum conversion for use with other protocols.
>   - Move IP cmsg constants to a header file and make processing
>     of the flags more efficient in ip_cmsg_recv
>   - Return checksum value in cmsg. This is specifically the unfolded
>     32 bit checksum of the full packet starting from the first byte
>     returned in recvmsg
> 
> Tested: Wrote a little server to get checksums in cmsg for UDP and
>         verfied correct checksum is returned.

Series applied, thanks Tom.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ