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: <55AC58AD.1010703@cn.fujitsu.com>
Date:	Mon, 20 Jul 2015 10:10:53 +0800
From:	Li Wei <lw@...fujitsu.com>
To:	Zhenwei Pi <p_ace@....com>, <netdev@...r.kernel.org>
Subject: Re: patch for udp_sendmsg

	Hello,

Read "Documentation/SubmittingPatches" before sending out the
first patch.

On 07/19/2015 10:38 PM, Zhenwei Pi wrote:
> Dear Sirs,
> 
> Commit : the max length of udp msg is (0xFFFF - sizeof(struct udphdr) - sizeof(struct iphdr). return -EMSGSIZE in udp_sendmsg.
> Patch : as the attached file
> 
> ____________________________________________________________
> | IP header |  UDP header | udp data ........                             |
> |___________|______________|_________________________________|
> |--> Total Length : 0xffff                                                       <--|
> 
> 
> If length of "data" is between (0xFFFF - sizeof(struct udphdr) - sizeof(struct iphdr) and 0xFFFF, sendto will fail because of ip_make_skb.
> Should kernel return -EMSGSIZE as soon as possible ?
> 
> 
--
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