diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/fib_rules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 2e654138433c..f409e0bd35c0 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c | |||
@@ -460,7 +460,8 @@ static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) | |||
460 | if (frh->action && (frh->action != rule->action)) | 460 | if (frh->action && (frh->action != rule->action)) |
461 | continue; | 461 | continue; |
462 | 462 | ||
463 | if (frh->table && (frh_get_table(frh, tb) != rule->table)) | 463 | if (frh_get_table(frh, tb) && |
464 | (frh_get_table(frh, tb) != rule->table)) | ||
464 | continue; | 465 | continue; |
465 | 466 | ||
466 | if (tb[FRA_PRIORITY] && | 467 | if (tb[FRA_PRIORITY] && |