netfilter: xt_qtaguid: fix crash on ctrl delete command
authorJP Abgrall <jpa@google.com>
Sat, 8 Oct 2011 05:14:24 +0000 (22:14 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:11 +0000 (21:39 -0800)
commit5fb93e95b274512800176790a68f07b49b198fdc
tree0c678a89ba3831a5e15df06a2c240c334fcdaba8
parent1fdfef5e6e218d28da745e2e816ef8b6ddb7e550
netfilter: xt_qtaguid: fix crash on ctrl delete command

Because for now the xt_qtaguid module allows procs to use tags without
having /dev/xt_qtaguid open, there was a case where it would try
to delete a resources from a list that was proc specific.
But that resource was never added to that list which is only
used when /dev/xt_qtaguid has been opened by the proc.

Once our userspace is fully updated, we won't need those exceptions.

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