Bug 58214 - The source "tcp.c" returns incorrect error code.
Summary: The source "tcp.c" returns incorrect error code.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
(Show other bugs)
Version: 6.2J
Hardware: i686 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-11 02:07 UTC by Need Real Name
Modified: 2008-08-01 16:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 15:39:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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:

Steps to Reproduce:
It generates, when a socket buffer is not assigned. 
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

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/

Note You need to log in before you can comment on or make changes to this bug.