Bug 212325 - [PATCH][RHEL4U4] Backported udp_poll() function (Fix the problem that select() returns in RHEL4 though select() must not return essentially when kernel receives broken UDP packet(s))
Summary: [PATCH][RHEL4U4] Backported udp_poll() function (Fix the problem that select(...
Keywords:
Status: CLOSED DUPLICATE of bug 212321
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-26 10:03 UTC by Masaki MAENO
Modified: 2007-11-17 01:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-07 21:40:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kernel-2.6.9-42.EL-udp_poll.patch - backported udp_poll() for fixing select() problem (5.73 KB, patch)
2006-10-26 10:03 UTC, Masaki MAENO
no flags Details | Diff

Description Masaki MAENO 2006-10-26 10:03:33 UTC
Description of problem:
Essentially, when kernel receives broken UDP packet(s), select() function must 
not return.
But, select() returns in any RHEL4 (RHEL4U0 - RHEL4U4).

We made udp_poll() backport patch for not returning even if kernel receives 
broken UDP packet.
This patch is for kernel-2.6.9-42.0.3.EL (and kernel-2.6.9-42.EL).

It was no problem for us though had verified with our business system.

Please take it by the following update! (=> RHEL4U5)


Version-Release number of selected component (if applicable):
RHEL4U4: kernel-2.6.9-42.0.3.EL (and kernel-2.6.9-42.EL)


How reproducible:
When select() observes incoming UDP packet by server, clinent sends broken UDP 
packet.
Then, select() returns normally by positive value.

Therefore, recvfrom() (= the functions that acquire packet) freezes until 
kernel receives next normal packet.


Actual results:
select() returns normally when receives broken UDP packet(s)


Expected results:
select() doesn't return when receives broken UDP packet(s)


Additional info:
- It was in the broken IP telephone terminal that sent a broken packet. 
- man 2 select
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/old-2.6-
bkcvs.git;a=summary (but git is down now)

Comment 1 Masaki MAENO 2006-10-26 10:03:34 UTC
Created attachment 139450 [details]
kernel-2.6.9-42.EL-udp_poll.patch - backported udp_poll() for fixing select() problem

Comment 2 Neil Horman 2006-11-07 21:40:47 UTC

*** This bug has been marked as a duplicate of 212321 ***


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