Files
linux/drivers/net
David Ahern 70e05a9f2f net: vrf: do not allow table id 0
[ Upstream commit 24c63bbc18 ]

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: 193125dbd8 ("net: Introduce VRF device driver")
Reported-by: Frank Kellermann <frank.kellermann@atos.net>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-15 13:41:36 +01:00
..
2016-09-30 10:18:36 +02:00
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2017-01-15 13:41:34 +01:00
2015-11-17 14:39:29 -05:00
2016-09-30 10:18:37 +02:00
2015-10-21 19:36:10 -07:00
2015-07-08 16:00:09 -07:00
2015-10-13 04:55:07 -07:00
2016-04-12 09:08:58 -07:00
2017-01-15 13:41:36 +01:00
2016-11-15 07:46:38 +01:00