]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/net/netns/ipv4.h
inet: switch IP ID generator to siphash
[mirror_ubuntu-bionic-kernel.git] / include / net / netns / ipv4.h
index c23277562a18e05840544fe6f61d2676bb45008d..2cd8b47cf0ba35196516aca98ae630fdddb36ac0 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;
@@ -206,5 +207,6 @@ struct netns_ipv4 {
        unsigned int    ipmr_seq;       /* protected by rtnl_mutex */
 
        atomic_t        rt_genid;
+       siphash_key_t   ip_id_key;
 };
 #endif