Messages in this thread | | | From | Yinjun Zhang <> | Subject | Re: [PATCH] lag_conf: Added pointer | Date | Wed, 16 Nov 2022 09:55:28 +0800 |
| |
On Tue, 15 Nov 2022 11:56:37 +0300, Denis Arefev wrote: > <...> > @@ -308,6 +308,8 @@ static void nfp_fl_lag_do_work(struct work_struct *work) > > acti_netdevs = kmalloc_array(entry->slave_cnt, > sizeof(*acti_netdevs), GFP_KERNEL); > + if (!acti_netdevs) > + break;
I think we need give other entries and this entry itself one more chance by: ``` if (!acti_netdevs) { schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY); continue: } ```
> > /* Include sanity check in the loop. It may be that a bond has > * changed between processing the last notification and the
| |