summaryrefslogtreecommitdiffstats
path: root/samples/bpf/parse_simple.c
diff options
context:
space:
mode:
authorCraig Gallek2016-10-26 00:08:49 +0200
committerDavid S. Miller2016-10-29 18:01:49 +0200
commite4cabca54911a6be6f2e80e48fa497c7e19019a5 (patch)
treeddb3bf47f45033bff0960019da9e937df6b06dc2 /samples/bpf/parse_simple.c
parentMerge branch 'mlx5-fixes' (diff)
downloadkernel-qcow2-linux-e4cabca54911a6be6f2e80e48fa497c7e19019a5.tar.gz
kernel-qcow2-linux-e4cabca54911a6be6f2e80e48fa497c7e19019a5.tar.xz
kernel-qcow2-linux-e4cabca54911a6be6f2e80e48fa497c7e19019a5.zip
inet: Fix missing return value in inet6_hash
As part of a series to implement faster SO_REUSEPORT lookups, commit 086c653f5862 ("sock: struct proto hash function may error") added return values to protocol hash functions and commit 496611d7b5ea ("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: 496611d7b5ea ("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>
Diffstat (limited to 'samples/bpf/parse_simple.c')
0 files changed, 0 insertions, 0 deletions