Searched refs:newmask (Results 1 – 2 of 2) sorted by relevance
1824 struct fl_flow_mask *newmask; in fl_create_new_mask() local1827 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask()1828 if (!newmask) in fl_create_new_mask()1831 fl_mask_copy(newmask, mask); in fl_create_new_mask()1833 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()1834 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()1835 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()1836 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()1837 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask()1839 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask()[all …]
1782 struct nlattr *newmask = NULL; in ovs_nla_get_match() local1811 newmask = kmemdup(nla_key, in ovs_nla_get_match()1814 if (!newmask) in ovs_nla_get_match()1817 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match()1826 nla_mask = newmask; in ovs_nla_get_match()1851 kfree(newmask); in ovs_nla_get_match()