On Sat, Jun 23, 2018 at 8:46 AM, Jason A. Donenfeld <ja...@zx2c4.com> wrote: > Hey Roopa, > > On a kernel with a minimal networking config, > CONFIG_IP_MULTIPLE_TABLES appears to be broken for certain rules after > f9d4b0c1e9695e3de7af3768205bacc27312320c. > > Try, for example, running: > > $ ip -4 rule add table main suppress_prefixlength 0 > > It returns with EEXIST. > > Perhaps the reason is that the new rule_find function does not match > on suppress_prefixlength? However, rule_exist from before didn't do > that either. I'll keep playing and see if I can track it down myself, > but thought I should let you know first.
I am surprised at that also. I cannot find prior rule_exist looking at suppress_prefixlength. I will dig deeper also today. But your patch LGTM with a small change I commented on it. > > A relevant .config can be found at https://א.cc/iq5HoUY0 > thanks.