|
@@ -460,7 +460,8 @@ static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh)
|
|
if (frh->action && (frh->action != rule->action))
|
|
if (frh->action && (frh->action != rule->action))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (frh->table && (frh_get_table(frh, tb) != rule->table))
|
|
|
|
|
|
+ if (frh_get_table(frh, tb) &&
|
|
|
|
+ (frh_get_table(frh, tb) != rule->table))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
if (tb[FRA_PRIORITY] &&
|
|
if (tb[FRA_PRIORITY] &&
|