[NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 13 Feb 2008 06:15:14 +0000 (22:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2008 06:15:14 +0000 (22:15 -0800)
Currently, if the call to netlbl_domhsh_search succeeds the
return result will still be NULL.

Fix that, by returning the found entry (if any).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found