Thomas Haller 371226b834 ipvlan: don't check for valid @mode argument in rtnl_link_ipvlan_set_mode()
In the future kernel might support more modes. Don't be so
strict in rtnl_link_ipvlan_set_mode() and accept any uint16
mode.
This way when adding new modes, rtnl_link_ipvlan_set_mode() does not
need to be changed.

If the user passes an invalid value and sends a message to the kernel,
it will be rejected there.

http://lists.infradead.org/pipermail/libnl/2015-June/001902.html

Fixes: 7de5be85bf9aa3eb9f022e4813226135e89adec2

Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-06-26 18:06:06 +02:00
2015-03-30 13:17:17 +02:00
2015-02-17 15:26:15 +01:00
2012-06-01 13:10:03 +02:00
2015-06-19 18:03:59 +02:00
2012-06-06 11:43:53 +02:00
2015-03-30 13:17:17 +02:00
2012-01-17 12:38:37 +01:00
2015-06-19 18:03:55 +02:00
2014-07-20 18:14:46 +02:00
Description
No description provided
15 MiB
Languages
Shell 100%