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.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -101,8 +101,8 @@ struct ieee_pfc { · 100 unmodified lines | |||
| 101 | */ | 101 | */ |
| 102 | struct dcb_app { | 102 | struct dcb_app { |
| 103 | __u8 selector; | 103 | __u8 selector; |
| 104 | __u32 protocol; | ||
| 105 | __u8 priority; | 104 | __u8 priority; |
| 105 | __u16 protocol; | ||
| 106 | }; | 106 | }; |
| 107 | 107 | ||
| 108 | struct dcbmsg { | 108 | struct dcbmsg { |