Re: [nftables tool v2 PATCH 2/4] src: Ensure given base chain type is a valid one

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

 



On Wed, Sep 04, 2013 at 02:29:38PM +0300, Tomasz Bursztyka wrote:
> Hi Pablo,
> 
> >>It verifies at command line parsing that given type is "filter", "nat",
> >>>or "route".
> >The kernel will just bail out if we pass an invalid chain type.
> 
> Sure, however I thought it would be nice to avoid one useless kernel
> call. (and the error is still possible to locate at that point)

I was trying to avoid the need for updating nft if we ever have a new
chain type, but that's unlikely to happen and users get better error
reporting with this patch.

I have applied it, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux