]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52bfcc4169dc2932bffc6641df6cae40dafce9f9
tree82fa2aa0b6e01042f56f38446c89676b20104f58
parent6faf1e7a4f30a71901420a766cc19cd8ed58641b
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