Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fou: fix some member types in guehdr
guehdr struct is used to build or parse gue packets, which are always in big endian. It's better to define all guehdr members as __beXX types. Also, in validate_gue_flags it's not good to use a __be32 variable for both Standard flags(__be16) and Private flags (__be32), and pass it to other funcions. This patch could fix a bunch of sparse warnings from fou. Fixes: 5024c33 ("gue: Add infrastructure for flags and options") Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information