From: Jesper Juhl Date: Wed, 8 Aug 2007 01:10:54 +0000 (-0700) Subject: [NETFILTER]: ipt_recent: avoid a possible NULL pointer deref in recent_seq_open() X-Git-Tag: v2.6.23-rc3~70^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af8e31cf57646284b5f77f9d57d2c22fa77485a;p=pandora-kernel.git [NETFILTER]: ipt_recent: avoid a possible NULL pointer deref in recent_seq_open() If the call to seq_open() returns != 0 then the code calls kfree(st) but then on the very next line proceeds to dereference the pointer - not good. Problem spotted by the Coverity checker. Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed