]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPVS]: Relax the module get/put in ip_vs_app.c
authorPavel Emelyanov <xemul@openvz.org>
Tue, 20 Nov 2007 06:52:41 +0000 (22:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:35 +0000 (14:54 -0800)
commit85b606800be20ceeca36bd8594c1eb228d2fb2f4
tree4a9f09e3b12583c7c17858b61b77aa26eccd3547
parent52427c9d11477d5a2633d81050f52523decf9eff
[IPVS]: Relax the module get/put in ip_vs_app.c

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 <xemul@openvz.org>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_app.c