Re: [PATCH][IPVS] Relax the module get/put in ip_vs_app.c

2007-11-19 Thread David Miller
From: Simon Horman <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 11:28:18 +0900 > On Mon, Nov 19, 2007 at 12:58:14PM +0300, Pavel Emelyanov wrote: > > Both try_module_get/module_put already handle the module == NULL > > case, so no need in manual checking. > > > > This patch fits both net-2.6 and ne

Re: [PATCH][IPVS] Relax the module get/put in ip_vs_app.c

2007-11-19 Thread Simon Horman
On Mon, Nov 19, 2007 at 12:58:14PM +0300, Pavel Emelyanov wrote: > Both try_module_get/module_put already handle the module == NULL > case, so no need in manual checking. > > This patch fits both net-2.6 and net-2.6.25. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Thanks, that looks fi

[PATCH][IPVS] Relax the module get/put in ip_vs_app.c

2007-11-19 Thread Pavel Emelyanov
Both try_module_get/module_put already handle the module == NULL case, so no need in manual checking. This patch fits both net-2.6 and net-2.6.25. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/net/ipv4/ipvs/ip_vs_app.c b/net/ipv4/ipvs/ip_vs_app.c index 664cb8e..535abe0 100