]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
inet: remove old fragmentation hash initializing
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Wed, 23 Oct 2013 09:06:57 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Oct 2013 21:01:41 +0000 (17:01 -0400)
commit7088ad74e6e710d0c80ea2cead9500f47a2a5d58
tree5e0931546c135c8802911ed2e5218c825b59ae2f
parentb1190570b451fb9fd77be8c115fcdb418c5108a5
inet: remove old fragmentation hash initializing

All fragmentation hash secrets now get initialized by their
corresponding hash function with net_get_random_once. Thus we can
eliminate the initial seeding.

Also provide a comment that hash secret seeding happens at the first
call to the corresponding hashing function.

Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
net/ipv4/inet_fragment.c