Xin Long 200809716a 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>
2017-12-11 14:10:06 -05:00
..
2017-11-30 13:37:29 +01:00
2017-11-15 10:56:56 -08:00
2017-12-11 10:52:23 -05:00
2017-11-15 20:30:12 -08:00
2017-12-11 14:10:06 -05:00
2017-11-15 14:54:53 -08:00
2017-11-20 21:50:24 -10:00
2017-11-16 13:06:27 -08:00