X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fclassifier.h;h=c3c1c3bd2adef8df2ad0e1e340850cb661506a7a;hb=671a7fdff8ecd28554d09c32f06c3adb1d723ac5;hp=b6b89a0c1534d80aa5a0e276c0c0493c341216da;hpb=13751fd88c4b7464f9453c03659201c10b3b87a0;p=sliver-openvswitch.git diff --git a/lib/classifier.h b/lib/classifier.h index b6b89a0c1..c3c1c3bd2 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -213,6 +213,7 @@ * The classifier may safely be accessed by many reader threads concurrently or * by a single writer. */ +#include "fat-rwlock.h" #include "flow.h" #include "hindex.h" #include "hmap.h" @@ -254,7 +255,7 @@ struct classifier { struct list subtables_priority; /* Subtables in descending priority order. */ struct hmap partitions; /* Contains "struct cls_partition"s. */ - struct ovs_rwlock rwlock OVS_ACQ_AFTER(ofproto_mutex); + struct fat_rwlock rwlock OVS_ACQ_AFTER(ofproto_mutex); struct cls_trie tries[CLS_MAX_TRIES]; /* Prefix tries. */ unsigned int n_tries; };