linux/net/netfilter
Patrick McHardy 94be1a3f36 [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>
2008-03-10 16:45:05 -07:00
..
core.c
Kconfig
Makefile
nf_conntrack_amanda.c
nf_conntrack_core.c [NETFILTER]: nf_conntrack: fix smp_processor_id() in preemptible code warning 2008-02-27 12:07:47 -08:00
nf_conntrack_ecache.c
nf_conntrack_expect.c [NETFILTER]: nf_conntrack: add \n to "expectation table full" message 2008-03-10 16:43:10 -07:00
nf_conntrack_extend.c [NETFILTER]: nf_conntrack: replace horrible hack with ksize() 2008-03-10 16:43:41 -07:00
nf_conntrack_ftp.c
nf_conntrack_h323_asn1.c
nf_conntrack_h323_main.c
nf_conntrack_h323_types.c
nf_conntrack_helper.c
nf_conntrack_irc.c
nf_conntrack_l3proto_generic.c
nf_conntrack_netbios_ns.c
nf_conntrack_netlink.c
nf_conntrack_pptp.c
nf_conntrack_proto_generic.c
nf_conntrack_proto_gre.c
nf_conntrack_proto_sctp.c
nf_conntrack_proto_tcp.c [NETFILTER] nf_conntrack_proto_tcp.c: Mistyped state corrected. 2008-02-14 14:50:21 -08:00
nf_conntrack_proto_udp.c
nf_conntrack_proto_udplite.c
nf_conntrack_proto.c
nf_conntrack_sane.c
nf_conntrack_sip.c
nf_conntrack_standalone.c [NETFILTER]: nf_conntrack: fix sparse warning 2008-01-31 19:28:15 -08:00
nf_conntrack_tftp.c
nf_internals.h
nf_log.c
nf_queue.c [NETFILTER]: nf_queue: don't return error when unregistering a non-existant handler 2008-03-10 16:45:05 -07:00
nf_sockopt.c
nfnetlink_log.c [NETFILTER]: nfnetlink_log: fix EPERM when binding/unbinding and instance 0 exists 2008-03-10 16:44:13 -07:00
nfnetlink_queue.c [NETFILTER]: nfnetlink_queue: fix EPERM when binding/unbinding and instance 0 exists 2008-03-10 16:44:36 -07:00
nfnetlink.c
x_tables.c
xt_CLASSIFY.c
xt_comment.c
xt_connbytes.c
xt_connlimit.c
xt_connmark.c
xt_CONNMARK.c
xt_CONNSECMARK.c
xt_conntrack.c [NETFILTER]: xt_conntrack: fix IPv4 address comparison 2008-02-27 12:20:41 -08:00
xt_dccp.c
xt_dscp.c
xt_DSCP.c
xt_esp.c
xt_hashlimit.c [NETFILTER]: xt_hashlimit: remove unneeded struct member 2008-02-19 17:19:44 -08:00
xt_helper.c
xt_iprange.c [NETFILTER]: xt_iprange: fix subtraction-based comparison 2008-02-19 17:20:06 -08:00
xt_length.c
xt_limit.c
xt_mac.c
xt_mark.c
xt_MARK.c
xt_multiport.c
xt_NFLOG.c
xt_NFQUEUE.c
xt_NOTRACK.c
xt_owner.c
xt_physdev.c
xt_pkttype.c
xt_policy.c
xt_quota.c
xt_rateest.c
xt_RATEEST.c
xt_realm.c
xt_sctp.c
xt_SECMARK.c [NETFILTER]: make secmark_tg_destroy() static 2008-02-13 17:41:39 -08:00
xt_state.c
xt_statistic.c
xt_string.c
xt_tcpmss.c
xt_TCPMSS.c
xt_TCPOPTSTRIP.c
xt_tcpudp.c
xt_time.c [NETFILTER]: xt_time: fix failure to match on Sundays 2008-03-10 16:42:40 -07:00
xt_TRACE.c
xt_u32.c [NETFILTER]: xt_u32: drop the actually unused variable from u32_match_it 2008-02-19 17:18:20 -08:00