On Mon, Jul 12, 2021 at 12:56 PM John Fastabend <john.fastabend@xxxxxxxxx> wrote: > > If skb_linearize is needed and fails we could leak a msg on the error > handling. To fix ensure we kfree the msg block before returning error. > Found during code review. > > Fixes: 4363023d2668e ("bpf, sockmap: Avoid failures from skb_to_sgvec when skb has frag_list") > Signed-off-by: John Fastabend <john.fastabend@xxxxxxxxx> Reviewed-by: Cong Wang <cong.wang@xxxxxxxxxxxxx> Thanks for the update.