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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:01 +0000 (21:39 -0800)
commit75b42c5c126340d437ac23bb21d69c176563d68e
tree846dfb982cf39342407159faa1160fb92a3fa55e
parentdf760f56dfdb8ece4d43f79afa3f6d4d32a1baa9
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