summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/openvswitch.h
diff options
context:
space:
mode:
authorJarno Rajahalme2014-09-30 19:52:32 +0200
committerPravin B Shelar2014-11-06 08:52:35 +0100
commit1a4e96a0e989200f7180264e27b22e9a85f3fcc8 (patch)
treed26b78452e2919e347486bbd25452a9248cfc936 /include/uapi/linux/openvswitch.h
parentopenvswitch: Drop packets when interdev is not up (diff)
downloadkernel-qcow2-linux-1a4e96a0e989200f7180264e27b22e9a85f3fcc8.tar.gz
kernel-qcow2-linux-1a4e96a0e989200f7180264e27b22e9a85f3fcc8.tar.xz
kernel-qcow2-linux-1a4e96a0e989200f7180264e27b22e9a85f3fcc8.zip
openvswitch: Fix the type of struct ovs_key_nd nd_target field.
Should be the same as other IPv6 address fields. Current master produces sparse warnings without this change. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
-rw-r--r--include/uapi/linux/openvswitch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h
index 631056b66f80..26c36c4cf7e2 100644
--- a/include/uapi/linux/openvswitch.h
+++ b/include/uapi/linux/openvswitch.h
@@ -400,9 +400,9 @@ struct ovs_key_arp {
};
struct ovs_key_nd {
- __u32 nd_target[4];
- __u8 nd_sll[ETH_ALEN];
- __u8 nd_tll[ETH_ALEN];
+ __be32 nd_target[4];
+ __u8 nd_sll[ETH_ALEN];
+ __u8 nd_tll[ETH_ALEN];
};
/**