Bug 58214

Summary: The source "tcp.c" returns incorrect error code.
Product: [Retired] Red Hat Linux Reporter: Need Real Name <t.ichida>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2J   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-30 15:39:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-01-11 02:07:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)

Description of problem:
At the function "tcp_do_sendmsg()" in "/usr/src/linux/net/ipv4/tcp.c",
in case the buffer of socket is not assigned because of a lack of memory, 
Linux gives us an error code "EFAULT" since the last error code "ENOMEM"
is not cleared. Linux must wait to open memory.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
It generates, when a socket buffer is not assigned. 
ex)
o A physical memory is consumed according to many processes.
o A lot of data is written in socket, and a buffer is consumed.

Actual Results:  The following messages were outputted to syslog.
The Ether driver(e100) stopped and the server was intercepted 
from the network.
"eth0:kernel rx_rev No buffer Left !!!"

Expected Results:  the server was not intercepted from the network.

Additional info:

Comment 1 Arjan van de Ven 2002-01-11 12:38:16 UTC
What version of the kernel was this with? 2.2.19-6.2.12 ?

Comment 2 Need Real Name 2002-01-16 00:37:05 UTC
Sorry, I forgot to enter kernel version.
version is 2.2.19-6.2.7 .

Best regards.

Comment 3 Bugzilla owner 2004-09-30 15:39:20 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/