A query regarding an entry in Andrew Morton's "must fix" list

From: Adhiraj Joshi
Date: Thu Sep 08 2005 - 10:00:40 EST


Hi,

There was a bug some time back in a Must-Fix list regarding UDP
applications going in dead lock.
(http://kernel.org/pub/linux/kernel/people/akpm/must-fix/must-fix-2.txt )
Here is an extract:
--------------------------------------------------------------------------------------------------------------
- UDP apps can in theory deadlock, because the ip_append_data path can end
up sleeping while the socket lock is held.

It is OK to sleep with the socket held held, normally. But in this case

the sleep happens while waiting for socket memory/space to become

available, if another context needs to take the socket lock to free up the
space we could hang.
----------------------------------------------------------------------------------------------------------------
Is the fix present in the kernel now? I faced a problem similar to this one.

Thanks in advance,
Adhiraj.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/