Home
last modified time | relevance | path

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

/net/sched/
Dcls_flower.c1373 struct fl_flow_mask *newmask; in fl_create_new_mask() local
1376 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask()
1377 if (!newmask) in fl_create_new_mask()
1380 fl_mask_copy(newmask, mask); in fl_create_new_mask()
1382 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()
1383 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()
1384 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()
1385 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()
1386 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask()
1388 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask()
[all …]
/net/openvswitch/
Dflow_netlink.c1764 struct nlattr *newmask = NULL; in ovs_nla_get_match() local
1793 newmask = kmemdup(nla_key, in ovs_nla_get_match()
1796 if (!newmask) in ovs_nla_get_match()
1799 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match()
1808 nla_mask = newmask; in ovs_nla_get_match()
1833 kfree(newmask); in ovs_nla_get_match()