]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: mode is u16
authorMahesh Bandewar <maheshb@google.com>
Sun, 21 Feb 2016 03:31:36 +0000 (19:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2016 03:43:24 +0000 (22:43 -0500)
commit62c870564065a3a67e78a980bd8edd1daf20b43a
tree2d73462f4aad15e2f939d4f97c3be43099c91125
parentcce8f8cc6e83184432c2a7f42e62e649c1409c58
ipvlan: mode is u16

The mode argument was erronusly defined as u32 but it has always
been u16. Also use ipvlan_set_mode() helper to set the mode instead
of assigning directly. This should avoid future erronus assignments /
updates.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_main.c