
As part of a series to implement faster SO_REUSEPORT lookups, commit086c653f58
("sock: struct proto hash function may error") added return values to protocol hash functions and commit496611d7b5
("inet: create IPv6-equivalent inet_hash function") implemented a new hash function for IPv6. However, the latter does not respect the former's convention. This properly propagates the hash errors in the IPv6 case. Fixes:496611d7b5
("inet: create IPv6-equivalent inet_hash function") Reported-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: Craig Gallek <kraig@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
9.0 KiB
9.0 KiB