Re: [PATCH nft] doc: fib: explain example in more detail

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

 



On Sun, Jul 21, 2019 at 08:54:32PM +0200, Florian Westphal wrote:
> Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > Cc'ing Phil.
> > 
> > On Sun, Jul 21, 2019 at 12:43:05PM +0200, Florian Westphal wrote:
> > > As noted by Felix Dreissig, fib documentation is quite terse, so explain
> > > the 'saddr . iif' example with a few more words.
> > 
> > There are patches to disallow ifindex 0 from Phil
> 
> WHich ones?
> I only see those that make meta write 0 in case iface doesn't exist,
> so it does exactly what fib does.

It is message-ID 20190718033940.12820-1-phil@xxxxxx and follow-ups,
trying to prevent users from matching against the values we decided to
use for "no data available" situations. This whole attempt feels a bit
futile. Maybe we should introduce something to signal "no value" so that
cmp expression will never match for '==' and always for '!='? Not sure
how to realize this via registers. Also undecided about '<' and '>' ops.

Cheers, Phil



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux