]> err.no Git - linux-2.6/commit
[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)
commit4c3a0a254e5d706d3fe01bf42261534858d05586
treef689952b5544f23bf9cf83d1d69b02fb4abfc131
parent0f8f27c39553dd3aedcaf5c39adefe3efef28b6b
[NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.

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>
net/netlabel/netlabel_domainhash.c