]> Git Repo - linux.git/blobdiff - net/openvswitch/datapath.c
net: ovs: fix ovs_drop_reasons error
[linux.git] / net / openvswitch / datapath.c
index 99d72543abd3aa853345fa55ffb1f99bf77da21e..78d9961fcd446da5e1be0c0d1b9e0936020517b0 100644 (file)
@@ -2706,7 +2706,7 @@ static struct pernet_operations ovs_net_ops = {
 };
 
 static const char * const ovs_drop_reasons[] = {
-#define S(x)   (#x),
+#define S(x) [(x) & ~SKB_DROP_REASON_SUBSYS_MASK] = (#x),
        OVS_DROP_REASONS(S)
 #undef S
 };
This page took 0.02904 seconds and 4 git commands to generate.