netfilter: CLUSTERIP: clusterip_seq_stop() fix
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 1 Apr 2010 10:54:09 +0000 (12:54 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 1 Apr 2010 10:54:09 +0000 (12:54 +0200)
commit902a3dd5e6b19048604ec533203d7d38a39505a2
treec6cfe2d015e9a7987701f3fc308ba90b8db47874
parentd26e6a02835affa8bafe09a51e37f9fbc339e415
netfilter: CLUSTERIP: clusterip_seq_stop() fix

If clusterip_seq_start() memory allocation fails, we crash later in
clusterip_seq_start(), trying to kfree(ERR_PTR(-ENOMEM))

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_CLUSTERIP.c