Re: [PATCH][NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.

2008-02-12 Thread David Miller
From: Paul Moore <[EMAIL PROTECTED]> Date: Tue, 12 Feb 2008 11:34:09 -0500 > On Tuesday 12 February 2008 11:27:16 am Pavel Emelyanov wrote: > > 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).

Re: [PATCH][NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.

2008-02-12 Thread Paul Moore
On Tuesday 12 February 2008 11:27:16 am Pavel Emelyanov wrote: > 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 <[EMAIL PROTECTED]> Good catch, thanks. Acked-by

[PATCH][NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.

2008-02-12 Thread Pavel Emelyanov
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 <[EMAIL PROTECTED]> --- diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c index 9a8ea