ipv6: Use universal hash for NDISC.
In order to perform a proper universal hash on a vector of integers,
we have to use different universal hashes on each vector element.
Which means we need 4 different hash randoms for ipv6.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/arp.h 1 addition, 1 deletioninclude/net/arp.h
- include/net/ndisc.h 9 additions, 0 deletionsinclude/net/ndisc.h
- include/net/neighbour.h 4 additions, 2 deletionsinclude/net/neighbour.h
- net/core/neighbour.c 10 additions, 3 deletionsnet/core/neighbour.c
- net/decnet/dn_neigh.c 2 additions, 2 deletionsnet/decnet/dn_neigh.c
- net/ipv4/arp.c 3 additions, 3 deletionsnet/ipv4/arp.c
- net/ipv6/ndisc.c 3 additions, 10 deletionsnet/ipv6/ndisc.c
Loading
Please register or sign in to comment