diff options
Diffstat (limited to 'net/openvswitch/vport-geneve.c')
-rw-r--r-- | net/openvswitch/vport-geneve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-geneve.c b/net/openvswitch/vport-geneve.c index e31f19c922e2..347fa2325b22 100644 --- a/net/openvswitch/vport-geneve.c +++ b/net/openvswitch/vport-geneve.c | |||
@@ -68,7 +68,7 @@ static void tunnel_id_to_vni(__be64 tun_id, __u8 *vni) | |||
68 | } | 68 | } |
69 | 69 | ||
70 | /* Convert 24 bit VNI to 64 bit tunnel ID. */ | 70 | /* Convert 24 bit VNI to 64 bit tunnel ID. */ |
71 | static __be64 vni_to_tunnel_id(__u8 *vni) | 71 | static __be64 vni_to_tunnel_id(const __u8 *vni) |
72 | { | 72 | { |
73 | #ifdef __BIG_ENDIAN | 73 | #ifdef __BIG_ENDIAN |
74 | return (vni[0] << 16) | (vni[1] << 8) | vni[2]; | 74 | return (vni[0] << 16) | (vni[1] << 8) | vni[2]; |