OSDN Git Service

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)
committerJP Abgrall <jpa@google.com>
Sat, 8 Oct 2011 05:16:01 +0000 (22:16 -0700)
commit8493beb1045539c0c43c07c6adeb71e3c00d990a
treeb0748bf5deb8d67550b0e32d1b865d25339c01f4
parent3bc18c7282298005d4726de14e19c3f5c807bb51
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