diff options
author | Patrick McHardy <kaber@trash.net> | 2008-03-10 23:45:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-10 23:45:05 (GMT) |
commit | 94be1a3f365e2b9f2615575d7fef16a0bad106a3 (patch) | |
tree | 95f51edc80b3ce55f3a9fd882f56b8a4b45e0e31 /drivers/net | |
parent | 914afea84e3e20cdbcd040f8387a0e6ef20ffc97 (diff) | |
download | linux-fsl-qoriq-94be1a3f365e2b9f2615575d7fef16a0bad106a3.tar.xz |
[NETFILTER]: nf_queue: don't return error when unregistering a non-existant handler
Commit ce7663d84:
[NETFILTER]: nfnetlink_queue: don't unregister handler of other subsystem
changed nf_unregister_queue_handler to return an error when attempting to
unregister a queue handler that is not identical to the one passed in.
This is correct in case we really do have a different queue handler already
registered, but some existing userspace code always does an unbind before
bind and aborts if that fails, so try to be nice and return success in
that case.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions