[NETFILTER]: nf_conntrack_amanda: fix textsearch_prepare() error check
commitc764c9ade6d9b710bad2b9c631ede9864333b98c
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 5 Jun 2007 19:56:53 +0000 (5 12:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Jun 2007 20:40:38 +0000 (7 13:40 -0700)
tree785b93388bc4879630c5d120fc6041a41b9bffd8
parent4c1b52bc7a2f5ee01ea3fc248a8748a1c6843f7c
[NETFILTER]: nf_conntrack_amanda: fix textsearch_prepare() error check

The return value from textsearch_prepare() needs to be checked
by IS_ERR(). Because it returns error code as a pointer.

Cc: "Brian J. Murrell" <netfilter@interlinx.bc.ca>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_amanda.c