netfilter: xt_qtaguid: Fix sockfd_put() call within spinlock
authorJP Abgrall <jpa@google.com>
Thu, 18 Aug 2011 22:05:47 +0000 (15:05 -0700)
committerJP Abgrall <jpa@google.com>
Sat, 20 Aug 2011 02:03:17 +0000 (19:03 -0700)
commit97aca38ddd3421bb7f13bf1c41566b23429906ae
tree77a93128fe308de57d9f4a05526e4214e5c31b1b
parentefcf89c8eb62b7c0c5976cb94f892c891afea199
netfilter: xt_qtaguid: Fix sockfd_put() call within spinlock

sockfd_put() risks sleeping.
So when doing a delete ctrl command, defer the sockfd_put() and
kfree() to outside of the spinlock.

Change-Id: I5f8ab51d05888d885b2fbb035f61efa5b7abb88a
Signed-off-by: JP Abgrall <jpa@google.com>
net/netfilter/xt_qtaguid.c