Skip to content

Commit

Permalink
bridge: use __u16 in if_bridge.h
Browse files Browse the repository at this point in the history
We should use "__u16" instead of "u16" in the user-space visable
header.

Cc: Vlad Yasevich <vyasevic@redhat.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Cong Wang authored and David S. Miller committed Feb 14, 2013
1 parent 93197b1 commit 9f89ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uapi/linux/if_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ enum {
#define BRIDGE_VLAN_INFO_UNTAGGED (1<<2) /* VLAN egresses untagged */

struct bridge_vlan_info {
u16 flags;
u16 vid;
__u16 flags;
__u16 vid;
};

/* Bridge multicast database attributes
Expand Down

0 comments on commit 9f89ec8

Please sign in to comment.