gre: use nla_get_be32() to extract flowinfo
authorLance Richardson <lrichard@redhat.com>
Sat, 24 Sep 2016 18:01:04 +0000 (14:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Sep 2016 00:07:44 +0000 (20:07 -0400)
commitc2675de447f8238e7e2e7eced78fa671d42a9a7e
tree82fa2aa0b6e01042f56f38446c89676b20104f58
parentc6a77ff82fb849534748719f37f3f9086d78ed39
gre: use nla_get_be32() to extract flowinfo

Eliminate a sparse endianness mismatch warning, use nla_get_be32() to
extract a __be32 value instead of nla_get_u32().

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c