aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXin Long2017-12-10 16:56:00 +0800
committerDavid S. Miller2017-12-11 14:10:06 -0500
commit200809716aed1cac586fcac4c0551a688439be1f (patch)
treefb2ee0b811b8cf511f1d42bab3ab34b5f9d0d825 /net
parent2342b8d95bcae5946e1b9b8d58645f37500ef2e7 (diff)
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: 5024c33ac354 ("gue: Add infrastructure for flags and options") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions