https://github.com/torvalds/linux
Revision 50c9cc2e540aeaab78ab548a8d42568977c6844f authored by Jaroslav Kysela on 10 April 2007, 20:26:48 UTC, committed by David S. Miller on 10 April 2007, 20:26:48 UTC
The clusterip_config_find_get() already increases entries reference
counter, so there is no reason to do it twice in checkentry() callback.

This causes the config to be freed before it is removed from the list,
resulting in a crash when adding the next rule.

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 15d33c0
History
Tip revision: 50c9cc2e540aeaab78ab548a8d42568977c6844f authored by Jaroslav Kysela on 10 April 2007, 20:26:48 UTC
[NETFILTER]: ipt_CLUSTERIP: fix oops in checkentry function
Tip revision: 50c9cc2
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.5 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.3 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