diff options
author | Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> | 2007-04-25 20:07:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-25 20:07:28 (GMT) |
commit | 1194ed0a3eb8076c8fbfe310f1ccbf229e8647de (patch) | |
tree | 3ec35f14c5e1a12a681629e0422cf9f0e254332f /drivers | |
parent | 5044eed48886b105a123333fe7ca97c6bd496120 (diff) | |
download | linux-1194ed0a3eb8076c8fbfe310f1ccbf229e8647de.tar.xz |
[NETLINK]: Infinite recursion in netlink.
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions