Re: [PATCH] RDMA/core: Fix uninitialized gid in ib_nl_process_good_ip_rsep()
From: Jason Gunthorpe
Date: Fri Nov 07 2025 - 14:17:42 EST
On Fri, Nov 07, 2025 at 11:11:40AM -0800, Vlad Dumitrescu wrote:
> On 11/7/25 07:37, Jason Gunthorpe wrote:
> > The fix to whatever this is should be in ib_nl_is_good_ip_resp().
>
> nla_parse_deprecated returns success if attrs are missing?
>
> Other callers also check for their expected attrs to be present in tb,
> after checking nla_parse_deprecated()'s return code.
That sounds like the trouble then, the check for tb presence should be
added to the ib_nl_is_good_ip_resp..
Jason