Home
last modified time | relevance | path

Searched refs:dst_opts (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/team/
Dteam.c255 struct team_option **dst_opts; in __team_options_register() local
258 dst_opts = kzalloc(sizeof(struct team_option *) * option_count, in __team_options_register()
260 if (!dst_opts) in __team_options_register()
267 dst_opts[i] = kmemdup(option, sizeof(*option), GFP_KERNEL); in __team_options_register()
268 if (!dst_opts[i]) { in __team_options_register()
275 err = __team_option_inst_add_option(team, dst_opts[i]); in __team_options_register()
278 list_add_tail(&dst_opts[i]->list, &team->option_list); in __team_options_register()
281 kfree(dst_opts); in __team_options_register()
286 __team_option_inst_del_option(team, dst_opts[i]); in __team_options_register()
291 kfree(dst_opts[i]); in __team_options_register()
[all …]