diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-10-23 11:06:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-23 23:01:40 +0200 |
commit | b1190570b451fb9fd77be8c115fcdb418c5108a5 (patch) | |
tree | 6b9d50498ba3b2904b021da902362f90105ded8d /net/ipv6/sit.c | |
parent | ipv4: initialize ip4_frags hash secret as late as possible (diff) | |
download | linux-b1190570b451fb9fd77be8c115fcdb418c5108a5.tar.xz linux-b1190570b451fb9fd77be8c115fcdb418c5108a5.zip |
ipv6: split inet6_hash_frag for netfilter and initialize secrets with net_get_random_once
Defer the fragmentation hash secret initialization for IPv6 like the
previous patch did for IPv4.
Because the netfilter logic reuses the hash secret we have to split it
first. Thus introduce a new nf_hash_frag function which takes care to
seed the hash secret.
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions