Re: [RFC 3/3] netfilter: nftables: Return preferably given family expression if any

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

 



Currently, when looking up for the proper expression type, what comes
>first is returned. Which might end up to be a non-family tight type.
>Instead, if a specific family type exist, it will be better to return
>this one.
Easier suggestion:

Change nft_register_expr() to appent NFPROTO_UNSPEC to the end of the
list and prepend all others.

Obvious one which I missed, as usual.

Thanks Patrick

Tomasz
--
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