diff options
Diffstat (limited to 'include/net/strparser.h')
-rw-r--r-- | include/net/strparser.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/strparser.h b/include/net/strparser.h index 732b7097d78e..41e2ce9e9e10 100644 --- a/include/net/strparser.h +++ b/include/net/strparser.h @@ -65,7 +65,14 @@ struct _strp_msg { struct sk_skb_cb { #define SK_SKB_CB_PRIV_LEN 20 unsigned char data[SK_SKB_CB_PRIV_LEN]; + /* align strp on cache line boundary within skb->cb[] */ + unsigned char pad[4]; struct _strp_msg strp; + + /* strp users' data follows */ + struct tls_msg { + u8 control; + } tls; /* temp_reg is a temporary register used for bpf_convert_data_end_access * when dst_reg == src_reg. */ |