kernel-ark/ipc
Alexey Kuznetsov a70ea994a0 [NETLINK]: Fix a severe bug
netlink overrun was broken while improvement of netlink.
Destination socket is used in the place where it was meant to be source socket,
so that now overrun is never sent to user netlink sockets, when it should be,
and it even can be set on kernel socket, which results in complete deadlock
of rtnetlink.

Suggested fix is to restore status quo passing source socket as additional
argument to netlink_attachskb().

A little explanation: overrun is set on a socket, when it failed
to receive some message and sender of this messages does not or even
have no way to handle this error. This happens in two cases:
1. when kernel sends something. Kernel never retransmits and cannot
   wait for buffer space.
2. when user sends a broadcast and the message was not delivered
   to some recipients.

Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-02-09 16:43:38 -08:00
..
compat_mq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat.c [PATCH] compat: be more consistent about [ug]id_t 2005-09-07 16:57:19 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mqueue.c [NETLINK]: Fix a severe bug 2006-02-09 16:43:38 -08:00
msg.c correct email address of Manfred Spraul 2006-01-15 02:43:54 +01:00
msgutil.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sem.c correct email address of Manfred Spraul 2006-01-15 02:43:54 +01:00
shm.c [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
util.c correct email address of Manfred Spraul 2006-01-15 02:43:54 +01:00
util.h correct email address of Manfred Spraul 2006-01-15 02:43:54 +01:00