From: Willem de Bruijn <willemdebruijn.ker...@gmail.com> Date: Sat, 8 Dec 2018 06:22:46 -0500
> From: Willem de Bruijn <will...@google.com> > > extra_uref is used in __ip(6)_append_data only if uarg is set. > > Smatch sees that the variable is passed to sock_zerocopy_put_abort. > This function accesses it only when uarg is set, but smatch cannot > infer this. > > Make this dependency explicit. > > Fixes: 52900d22288e ("udp: elide zerocopy operation in hot path") > Signed-off-by: Willem de Bruijn <will...@google.com> I looked and can't figure out a better way to fix this :) Applied, thanks Willem.