|
@@ -59,7 +59,8 @@ static int nft_exthdr_init(const struct nft_ctx *ctx,
|
|
const struct nlattr * const tb[])
|
|
const struct nlattr * const tb[])
|
|
{
|
|
{
|
|
struct nft_exthdr *priv = nft_expr_priv(expr);
|
|
struct nft_exthdr *priv = nft_expr_priv(expr);
|
|
- u32 offset, len, err;
|
|
|
|
|
|
+ u32 offset, len;
|
|
|
|
+ int err;
|
|
|
|
|
|
if (tb[NFTA_EXTHDR_DREG] == NULL ||
|
|
if (tb[NFTA_EXTHDR_DREG] == NULL ||
|
|
tb[NFTA_EXTHDR_TYPE] == NULL ||
|
|
tb[NFTA_EXTHDR_TYPE] == NULL ||
|