rocker: fix eth_type type in struct rocker_ctrl
authorJiri Pirko <jiri@resnulli.us>
Wed, 3 Dec 2014 13:14:54 +0000 (14:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 18:28:46 +0000 (13:28 -0500)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c

index 4b060fbd31457d3271b56e2809a4549a89bc5de6..55364359b868b1aedba6680ee2f84b74003f528f 100644 (file)
@@ -2753,7 +2753,7 @@ static int rocker_port_vlan_l2_groups(struct rocker_port *rocker_port,
 static struct rocker_ctrl {
        const u8 *eth_dst;
        const u8 *eth_dst_mask;
-       u16 eth_type;
+       __be16 eth_type;
        bool acl;
        bool bridge;
        bool term;