Re: [PATCH bpf 3/3] devmap: Add missing RCU read lock on flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Toshiaki Makita <toshiaki.makita1@xxxxxxxxx> writes:

> .ndo_xdp_xmit() assumes it is called under RCU. For example virtio_net
> uses RCU to detect it has setup the resources for tx. The assumption
> accidentally broke when introducing bulk queue in devmap.
>
> Fixes: 5d053f9da431 ("bpf: devmap prepare xdp frames for bulking")
> Reported-by: David Ahern <dsahern@xxxxxxxxx>
> Signed-off-by: Toshiaki Makita <toshiaki.makita1@xxxxxxxxx>
> ---

I think this is still needed, but the patch context is going to conflict
with the patch I linked above... I guess it's up to the maintainers to
decide which order to merge them in :)

-Toke



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux