[NETFILTER]: arp_tables: fix NULL pointer dereference
authorPatrick McHardy <kaber@trash.net>
Mon, 13 Mar 2006 04:40:43 +0000 (20:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2006 04:40:43 +0000 (20:40 -0800)
commit31fe4d331729e9687db84521c3ceb8e43390efcf
tree3db1ef1a3daaf10d01ab18dbcc0f107857919eac
parentbaa829d8926f02ab04be6ec37780810d221c5b4b
[NETFILTER]: arp_tables: fix NULL pointer dereference

The check is wrong and lets NULL-ptrs slip through since !IS_ERR(NULL)
is true.

Coverity #190

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/arp_tables.c