diff options
Diffstat (limited to 'net/openvswitch/flow_table.c')
-rw-r--r-- | net/openvswitch/flow_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c index f2ea83ba4763..95dbcedf0bd4 100644 --- a/net/openvswitch/flow_table.c +++ b/net/openvswitch/flow_table.c | |||
@@ -427,7 +427,7 @@ static u32 flow_hash(const struct sw_flow_key *key, | |||
427 | 427 | ||
428 | static int flow_key_start(const struct sw_flow_key *key) | 428 | static int flow_key_start(const struct sw_flow_key *key) |
429 | { | 429 | { |
430 | if (key->tun_key.u.ipv4.dst) | 430 | if (key->tun_proto) |
431 | return 0; | 431 | return 0; |
432 | else | 432 | else |
433 | return rounddown(offsetof(struct sw_flow_key, phy), | 433 | return rounddown(offsetof(struct sw_flow_key, phy), |