]> git.openfabrics.org - ~emulex/infiniband.git/commit
ipv6: Fix endianess warning in ip6_flow_hdr().
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 17 Jan 2013 03:10:57 +0000 (12:10 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2013 03:12:36 +0000 (22:12 -0500)
commit07f623d3b278abe88508c1c59d7c1089b4a56789
tree6434cfeda221b05ca22bca8e1994841a667ce277
parent9fba0812c15e531c3ff1752174f04234b7a55fc4
ipv6: Fix endianess warning in ip6_flow_hdr().

Commit 3e4e4c1f ("ipv6: Introduce ip6_flow_hdr() to fill version,
tclass and flowlabel.) uses ntohl(), which should be htonl().

Found by Fengguang Wu <fengguang.wu@intel.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h