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)
commite93fbc5a15ff25d4f9fd92a13c33cd37d99a2340
tree2d73462f4aad15e2f939d4f97c3be43099c91125
parentc3aaa06d5a63609641b7ad62ee0956f3de86c1cd
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