summaryrefslogtreecommitdiff
path: root/lib/rstp-common.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-08-22 09:01:35 -0700
committerJarno Rajahalme <jrajahalme@nicira.com>2014-09-09 11:45:44 -0700
commit6b90bc57e7a23b89a594ceb857f8267c8b4026df (patch)
tree21d0871d4fe09948f6e6f421d858d4c8500e2b66 /lib/rstp-common.h
parentf025bcb7eabbb5598d2cb1f4cdd429b47a3743dc (diff)
downloadopenvswitch-6b90bc57e7a23b89a594ceb857f8267c8b4026df.tar.gz
lib/rstp: Remove lock recursion.
Change the RSTP send_bpdu interface so that a recursive mutex is not needed. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Daniele Venturino <daniele.venturino@m3s.it>
Diffstat (limited to 'lib/rstp-common.h')
-rw-r--r--lib/rstp-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rstp-common.h b/lib/rstp-common.h
index c3d61f454..d4d7feb7f 100644
--- a/lib/rstp-common.h
+++ b/lib/rstp-common.h
@@ -872,7 +872,7 @@ struct rstp {
struct ovs_refcount ref_cnt;
/* Interface to client. */
- void (*send_bpdu)(struct ofpbuf *bpdu, int port_no, void *aux);
+ void (*send_bpdu)(struct ofpbuf *bpdu, void *port_aux, void *rstp_aux);
void *aux;
};