X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2Fflow.c;h=34e4443c9e9c8890464eceeea936b1d9f6e28e08;hb=9a6fe4c1ae510f1ee9fb382e285a11a5d8e2722b;hp=7a697a42fdf474e244abab6da25f6d09da5b1a18;hpb=646b2a9c80fc14f6b7efc8a978bd58c25ffdd49b;p=cascardo%2Fovs.git diff --git a/datapath/flow.c b/datapath/flow.c index 7a697a42f..34e4443c9 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1995,6 +1995,7 @@ nla_put_failure: * Returns zero if successful or a negative error code. */ int ovs_flow_init(void) { + BUILD_BUG_ON(__alignof__(struct sw_flow_key) % __alignof__(long)); BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); flow_cache = kmem_cache_create("sw_flow", sizeof(struct sw_flow), 0,