]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: add and use __skb_get_hash_symmetric_net
authorFlorian Westphal <fw@strlen.de>
Sat, 8 Jun 2024 22:10:40 +0000 (00:10 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Jun 2024 21:33:38 +0000 (14:33 -0700)
commitd1dab4f71d372e00e2d34a9c32bf261623e3a95c
tree75f6dda28ad47e21ce91e564a90e198ffad5b409
parentb975d3ee5962237c1e2f5d5aeeaaf0dc2173486c
net: add and use __skb_get_hash_symmetric_net

Similar to previous patch: apply same logic for
__skb_get_hash_symmetric and let callers pass the netns to the dissector
core.

Existing function is turned into a wrapper to avoid adjusting all
callers, nft_hash.c uses new function.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240608221057.16070-3-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
net/core/flow_dissector.c
net/netfilter/nft_hash.c