aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-12-10 16:56:00 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-11 14:10:06 -0500
commit200809716aed1cac586fcac4c0551a688439be1f (patch)
treefb2ee0b811b8cf511f1d42bab3ab34b5f9d0d825 /net
parentsctp: make sure stream nums can match optlen in sctp_setsockopt_reset_streams (diff)
downloadlinux-dev-200809716aed1cac586fcac4c0551a688439be1f.tar.xz
linux-dev-200809716aed1cac586fcac4c0551a688439be1f.zip
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