File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ static const struct nla_policy nft_tunnel_opts_geneve_policy[NFTA_TUNNEL_KEY_GEN
313313static int nft_tunnel_obj_geneve_init (const struct nlattr * attr ,
314314 struct nft_tunnel_opts * opts )
315315{
316- struct geneve_opt * opt = (struct geneve_opt * )opts -> u .data + opts -> len ;
316+ struct geneve_opt * opt = (struct geneve_opt * )( opts -> u .data + opts -> len ) ;
317317 struct nlattr * tb [NFTA_TUNNEL_KEY_GENEVE_MAX + 1 ];
318318 int err , data_len ;
319319
@@ -599,7 +599,7 @@ static int nft_tunnel_opts_dump(struct sk_buff *skb,
599599 if (!inner )
600600 goto failure ;
601601 while (opts -> len > offset ) {
602- opt = (struct geneve_opt * )opts -> u .data + offset ;
602+ opt = (struct geneve_opt * )( opts -> u .data + offset ) ;
603603 if (nla_put_be16 (skb , NFTA_TUNNEL_KEY_GENEVE_CLASS ,
604604 opt -> opt_class ) ||
605605 nla_put_u8 (skb , NFTA_TUNNEL_KEY_GENEVE_TYPE ,
You can’t perform that action at this time.
0 commit comments