Re: [PATCH] net: vrf: do not allow table id 0

2017-01-11 Thread David Miller
From: David Ahern Date: Tue, 10 Jan 2017 15:22:25 -0800 > Frank reported that vrf devices can be created with a table id of 0. > This breaks many of the run time table id checks and should not be > allowed. Detect this condition at create time and fail with EINVAL. > > Fixes: 193125dbd8eb ("net:

[PATCH] net: vrf: do not allow table id 0

2017-01-10 Thread David Ahern
Frank reported that vrf devices can be created with a table id of 0. This breaks many of the run time table id checks and should not be allowed. Detect this condition at create time and fail with EINVAL. Fixes: 193125dbd8eb ("net: Introduce VRF device driver") Reported-by: Frank Kellermann Signed