inet: switch IP ID generator to siphash
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / include / net / netns / ipv4.h
index 8fcff283748444fd561ffe1be00b95dcbb84710d..a2e4adafd34da6d1f6d91deb02892115706de199 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/uidgid.h>
 #include <net/inet_frag.h>
 #include <linux/rcupdate.h>
+#include <linux/siphash.h>
 
 struct tcpm_hash_bucket;
 struct ctl_table_header;
@@ -164,5 +165,6 @@ struct netns_ipv4 {
        unsigned int    fib_seq;        /* protected by rtnl_mutex */
 
        atomic_t        rt_genid;
+       siphash_key_t   ip_id_key;
 };
 #endif