lkml.org 
[lkml]   [2022]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] lag_conf: Added pointer
Date
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

\
 
 \ /
  Last update: 2022-11-16 02:56    [W:0.054 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site