On 5/4/20 7:21 PM, John Fastabend wrote:
In these two cases sk_msg layout was getting confused with some helper
sequences.

I found these while cleaning up test_sockmap to do a better job covering
the different scenarios. Those patches will go to bpf-next and include
tests that cover these two cases.

---

John Fastabend (2):
       bpf: sockmap, msg_pop_data can incorrecty set an sge length
       bpf: sockmap, bpf_tcp_ingress needs to subtract bytes from sg.size


  include/linux/skmsg.h |    1 +
  net/core/filter.c     |    2 +-
  net/ipv4/tcp_bpf.c    |    1 -
  3 files changed, 2 insertions(+), 2 deletions(-)

--
Signature


Applied to bpf, thanks!

Reply via email to