From: John Fastabend Date: Fri, 18 Feb 2011 13:30:17 +0000 (+0000) Subject: net: dcb: match dcb_app protocol field with 802.1Qaz spec X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=226111d1fbe611bc7a5ffaa5275ccb41e73fd011;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: John Fastabend Signed-off-by: David S. Miller --- 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 {