net: dcb: match dcb_app protocol field with 802.1Qaz spec
authorJohn Fastabend <john.r.fastabend@intel.com>
Fri, 18 Feb 2011 13:30:17 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Feb 2011 03:00:50 +0000 (19:00 -0800)
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>
include/linux/dcbnl.h

index 68cd248f6d3e20acba330fc7f9a92df1e3f278ab..66900e3c6eb1ba0c33d741725e7a532f2b555012 100644 (file)
@@ -101,8 +101,8 @@ struct ieee_pfc {
  */
 struct dcb_app {
        __u8    selector;
-       __u32   protocol;
        __u8    priority;
+       __u16   protocol;
 };
 
 struct dcbmsg {