[NETFILTER]: nf_queue: clean up error paths
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 09:27:19 +0000 (01:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:16 +0000 (14:56 -0800)
commitdaaa8be2e0ec1c27d11e6724c8ebd8ed53914ae2
tree47a5cc79b1ab10065d382b83c37f11ea4b43a5dc
parent4b3d15ef4a88683d93d1b76351297d2298a02a99
[NETFILTER]: nf_queue: clean up error paths

Move duplicated error handling to end of function and add a helper function
to release the device and module references from the queue entry.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_queue.c