Re: nft version 0.9.1 add rule with match all using kernel 4.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 16, 2019 at 07:31:41AM -0400, Charles Eidsness wrote:
> > > Is there some difference in the netlink message sent for that command
> > > between nftables 0.9.1 and nftables 0.9.0?
> >
> > These two commits:
> >
> > c64457cff967 src: Allow goto and jump to a variable
> > f1e8a129ee42 src: Introduce chain_expr in jump and goto statements
> >
> > Could you try the following patch?
> >
> 
> That doesn't seem to fix it, we get this error:
> 
> Error: invalid verdict chain expression value
> 
> add rule ip testNEW test6 jump test8
>                                        ^^^^^^^^^^

Hm.

After my patch, there is no more error reporting using this string:

$ git grep "invalid verdict"
src/evaluate.c:         BUG("invalid verdict expression %s\n", expr_name(stmt->expr));

Well, there is a BUG() path, but you seem to be hitting a different
thing.

Could you double check? :-)



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux