History

net: openvswitch: Fix matching zone id for invalid conns arriving from tc

Zone id is not restored if we passed ct and ct rejected the connection, as there is no ct info on the skb. Save the zone from tc skb cb to tc skb extension and pass it on to ovs, use that info to restore the zone id for invalid connections.

Paul Blakey committed 4 years ago

Commit 635d4481 parent 38495953 files · +9 −1Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/skbuff.h+1−0
@@ -286,6 +286,7 @@ struct nf_bridge_info { · 285 unmodified lines
286286 struct tc_skb_ext {
287287 __u32 chain;
288288 __u16 mru;
289+ __u16 zone;
289290 bool post_ct;
290291 };
291292 #endif