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
286struct tc_skb_ext {286struct tc_skb_ext {
287 __u32 chain;287 __u32 chain;
288 __u16 mru;288 __u16 mru;
289 __u16 zone;
289 bool post_ct;290 bool post_ct;
290};291};
291#endif292#endif