diff options
author | Mahesh Bandewar <maheshb@google.com> | 2016-02-21 04:31:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-22 04:43:24 +0100 |
commit | e93fbc5a15ff25d4f9fd92a13c33cd37d99a2340 (patch) | |
tree | 2d73462f4aad15e2f939d4f97c3be43099c91125 /drivers/net/ipvlan/ipvlan.h | |
parent | ipvlan: scrub skb before routing in L3 mode. (diff) | |
download | linux-e93fbc5a15ff25d4f9fd92a13c33cd37d99a2340.tar.xz linux-e93fbc5a15ff25d4f9fd92a13c33cd37d99a2340.zip |
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>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan.h')
-rw-r--r-- | drivers/net/ipvlan/ipvlan.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan.h b/drivers/net/ipvlan/ipvlan.h index 9542b7bac61a..817cab1a7959 100644 --- a/drivers/net/ipvlan/ipvlan.h +++ b/drivers/net/ipvlan/ipvlan.h @@ -115,7 +115,6 @@ static inline struct ipvl_port *ipvlan_port_get_rtnl(const struct net_device *d) } void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev); -void ipvlan_set_port_mode(struct ipvl_port *port, u32 nval); void ipvlan_init_secret(void); unsigned int ipvlan_mac_hash(const unsigned char *addr); rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb); |