]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nfnetlink_queue: fix EPERM when binding/unbinding and instance 0 exists
authorPatrick McHardy <kaber@trash.net>
Mon, 10 Mar 2008 23:44:36 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Mar 2008 23:44:36 +0000 (16:44 -0700)
commitc72ba85d16d3bd99c5afa57bf54fb0588028e9b5
tree68d7e80bd238f2c2b794825213e3385c9db49de3
parentc0b8ab90f675397193e84135d13ce8dbfd1bf00d
[NETFILTER]: nfnetlink_queue: fix EPERM when binding/unbinding and instance 0 exists

Similar to the nfnetlink_log problem, nfnetlink_queue incorrectly
returns -EPERM when binding or unbinding to an address family and
queueing instance 0 exists and is owned by a different process. Unlike
nfnetlink_log it previously completes the operation, but it is still
incorrect.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue.c