Skip to content

Commit

Permalink
net: dcb: match dcb_app protocol field with 802.1Qaz spec
Browse files Browse the repository at this point in the history
The dcb_app protocol field is a __u32 however the 802.1Qaz
specification defines it as a 16 bit field. This patch brings
the structure inline with the spec making it a __u16.

CC: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
John Fastabend authored and David S. Miller committed Feb 20, 2011
1 parent 91035f0 commit 226111d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/dcbnl.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ struct ieee_pfc {
*/
struct dcb_app {
__u8 selector;
__u32 protocol;
__u8 priority;
__u16 protocol;
};

struct dcbmsg {
Expand Down

0 comments on commit 226111d

Please sign in to comment.