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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:06 +0000 (12:23 -0800)
commitc311827ad7762faa7e8e89fb92a7bb26f1d94342
treef31432b4f5a6e94855b5b8f9056f5eb136b50706
parent9cf359f02094cd2683a126752dfa388957ecefb9
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