Unverified Commit 7a859b3f authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 9ff44822 aa1a4e2f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -336,6 +336,11 @@ 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) {
			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