]> 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)
commitd218d348eed36fcf260db33cec7a508ef729f55a
tree2d73462f4aad15e2f939d4f97c3be43099c91125
parentf2087c25df2ebdd1f63f3dc019c8a1f70ef674ab
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