summaryrefslogtreecommitdiffstats
path: root/include/linux/dcbnl.h
diff options
context:
space:
mode:
authorJohn Fastabend2011-02-18 14:30:17 +0100
committerDavid S. Miller2011-02-20 04:00:50 +0100
commit226111d1fbe611bc7a5ffaa5275ccb41e73fd011 (patch)
tree2127a47120c71f4eb2cfdcc889c0c2971c9d9c33 /include/linux/dcbnl.h
parenttcp: fix inet_twsk_deschedule() (diff)
downloadkernel-qcow2-linux-226111d1fbe611bc7a5ffaa5275ccb41e73fd011.tar.gz
kernel-qcow2-linux-226111d1fbe611bc7a5ffaa5275ccb41e73fd011.tar.xz
kernel-qcow2-linux-226111d1fbe611bc7a5ffaa5275ccb41e73fd011.zip
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>
Diffstat (limited to 'include/linux/dcbnl.h')
-rw-r--r--include/linux/dcbnl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h
index 68cd248f6d3e..66900e3c6eb1 100644
--- a/include/linux/dcbnl.h
+++ b/include/linux/dcbnl.h
@@ -101,8 +101,8 @@ struct ieee_pfc {
*/
struct dcb_app {
__u8 selector;
- __u32 protocol;
__u8 priority;
+ __u16 protocol;
};
struct dcbmsg {