Browse Source

net: dcb: match dcb_app protocol field with 802.1Qaz spec

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>
John Fastabend 14 years ago
parent
commit
226111d1fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/dcbnl.h

+ 1 - 1
include/linux/dcbnl.h

@@ -101,8 +101,8 @@ struct ieee_pfc {
  */
  */
 struct dcb_app {
 struct dcb_app {
 	__u8	selector;
 	__u8	selector;
-	__u32	protocol;
 	__u8	priority;
 	__u8	priority;
+	__u16	protocol;
 };
 };
 
 
 struct dcbmsg {
 struct dcbmsg {