xfrm: fix gre key endianess
authorTimo Teräs <timo.teras@iki.fi>
Tue, 23 Nov 2010 04:03:45 +0000 (04:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 19:22:17 +0000 (11:22 -0800)
commitaa285b1740f5b13e5a2606a927f3129954583d78
tree4845acc70e17cbd0c3a16f490aa24e1a00e8eb3c
parent6a632625c7da7594d059b88dae0e9c591af147ba
xfrm: fix gre key endianess

fl->fl_gre_key is network byte order contrary to fl->fl_icmp_*.
Make xfrm_flowi_{s|d}port return network byte order values for gre
key too.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h