Re: [PATCH net-next] bonding: check XDP support before enslaving changes state

From: Hangbin Liu

Date: Thu Nov 26 2026 - 02:56:31 EST


Hi,
On Wed, Nov 25, 2026 at 02:12:00PM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issue(s) to consider.
>
> Critical: 0 · High: 1 (1) · Medium: 1 · Low: 0
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).

Thanks for the review.

>
> - [High] bonding: bond_xdp_xmit() checks ndo_xdp_xmit instead of
> xdp_features

Ack, I will check the xdp_feature instead, thanks!

> - [Medium] This patch fixes a kernel oops that is self-contained and goes
> back years, but it has no Fixes: tag and it is mixed in with changes…

OK, I will split the patch and post the xdp_feature guard to net tree.
>
> Pre-existing issues:
> - [High] This problem wasn't introduced by this patch, but the XDP
> propagate failure it keeps on the late path can leave freed memory…

This issue is working by Jiapeng in
https://lore.kernel.org/netdev/20261124024319.52145-1-ljp1205831794@xxxxxxxxx/

---
pw-bot: cr