summaryrefslogtreecommitdiff
path: root/net/ipv6/xfrm6_tunnel.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-02-17 21:25:42 +0900
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-02-17 21:25:42 +0900
commit9704669c386f9bbfef2e002e7e690c56b7dcf5de (patch)
tree70e2899d2ccd6a4691edcbc112da1cee2d239606 /net/ipv6/xfrm6_tunnel.c
parent841c35169323cd833294798e58b9bf63fa4fa1de (diff)
tracing/probes: Fix to search structure fields correctly
Fix to search a field from the structure which has anonymous union correctly. Since the reference `type` pointer was updated in the loop, the search loop suddenly aborted where it hits an anonymous union. Thus it can not find the field after the anonymous union. This avoids updating the cursor `type` pointer in the loop. Link: https://lore.kernel.org/all/170791694361.389532.10047514554799419688.stgit@devnote2/ Fixes: 302db0f5b3d8 ("tracing/probes: Add a function to search a member of a struct/union") Cc: stable@vger.kernel.org Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'net/ipv6/xfrm6_tunnel.c')
0 files changed, 0 insertions, 0 deletions