Re: [PATCH net-next] net: core: add missing check for uid_range in rule_exists.

2016-11-09 Thread David Miller
From: Lorenzo Colitti Date: Mon, 7 Nov 2016 00:16:25 +0900 > Without this check, it is not possible to create two rules that > are identical except for their UID ranges. For example: > > root@net-test:/# ip rule add prio 1000 lookup 300 > root@net-test:/# ip rule add prio

Re: [PATCH net-next] net: core: add missing check for uid_range in rule_exists.

2016-11-06 Thread Maciej Żenczykowski
Acked-by: Maciej Żenczykowski

[PATCH net-next] net: core: add missing check for uid_range in rule_exists.

2016-11-06 Thread Lorenzo Colitti
Without this check, it is not possible to create two rules that are identical except for their UID ranges. For example: root@net-test:/# ip rule add prio 1000 lookup 300 root@net-test:/# ip rule add prio 1000 uidrange 100-200 lookup 300 RTNETLINK answers: File exists root@net-test:/# ip rule add