Staging
v0.5.1
https://github.com/torvalds/linux
Revision 1194ed0a3eb8076c8fbfe310f1ccbf229e8647de authored by Alexey Kuznetsov on 25 April 2007, 20:07:28 UTC, committed by David S. Miller on 25 April 2007, 20:07:28 UTC
Reply to NETLINK_FIB_LOOKUP messages were misrouted back to kernel,
which resulted in infinite recursion and stack overflow.

The bug is present in all kernel versions since the feature appeared.

The patch also makes some minimal cleanup:

1. Return something consistent (-ENOENT) when fib table is missing
2. Do not crash when queue is empty (does not happen, but yet)
3. Put result of lookup

Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5044eed
History
Tip revision: 1194ed0a3eb8076c8fbfe310f1ccbf229e8647de authored by Alexey Kuznetsov on 25 April 2007, 20:07:28 UTC
[NETLINK]: Infinite recursion in netlink.
Tip revision: 1194ed0
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 82.2 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top