Lines Matching refs:reply
939 struct sk_buff *reply; in ovs_flow_cmd_new() local
994 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
996 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
997 error = PTR_ERR(reply); in ovs_flow_cmd_new()
1023 if (unlikely(reply)) { in ovs_flow_cmd_new()
1026 reply, info->snd_portid, in ovs_flow_cmd_new()
1065 if (unlikely(reply)) { in ovs_flow_cmd_new()
1068 reply, info->snd_portid, in ovs_flow_cmd_new()
1080 if (reply) in ovs_flow_cmd_new()
1081 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new()
1086 kfree_skb(reply); in ovs_flow_cmd_new()
1179 struct sk_buff *reply = NULL; in ovs_flow_cmd_set() local
1203 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false, in ovs_flow_cmd_set()
1205 if (IS_ERR(reply)) { in ovs_flow_cmd_set()
1206 error = PTR_ERR(reply); in ovs_flow_cmd_set()
1232 if (unlikely(reply)) { in ovs_flow_cmd_set()
1235 reply, info->snd_portid, in ovs_flow_cmd_set()
1243 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, in ovs_flow_cmd_set()
1247 if (IS_ERR(reply)) { in ovs_flow_cmd_set()
1248 error = PTR_ERR(reply); in ovs_flow_cmd_set()
1258 if (reply) in ovs_flow_cmd_set()
1259 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_set()
1267 kfree_skb(reply); in ovs_flow_cmd_set()
1280 struct sk_buff *reply; in ovs_flow_cmd_get() local
1319 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info, in ovs_flow_cmd_get()
1321 if (IS_ERR(reply)) { in ovs_flow_cmd_get()
1322 err = PTR_ERR(reply); in ovs_flow_cmd_get()
1327 return genlmsg_reply(reply, info); in ovs_flow_cmd_get()
1339 struct sk_buff *reply; in ovs_flow_cmd_del() local
1382 reply = ovs_flow_cmd_alloc_info((const struct sw_flow_actions __force *) flow->sf_acts, in ovs_flow_cmd_del()
1384 if (likely(reply)) { in ovs_flow_cmd_del()
1385 if (!IS_ERR(reply)) { in ovs_flow_cmd_del()
1388 reply, info->snd_portid, in ovs_flow_cmd_del()
1394 kfree_skb(reply); in ovs_flow_cmd_del()
1398 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_del()
1401 PTR_ERR(reply)); in ovs_flow_cmd_del()
1736 struct sk_buff *reply; in ovs_dp_cmd_new() local
1746 reply = ovs_dp_cmd_alloc_info(); in ovs_dp_cmd_new()
1747 if (!reply) in ovs_dp_cmd_new()
1807 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid, in ovs_dp_cmd_new()
1816 ovs_notify(&dp_datapath_genl_family, reply, info); in ovs_dp_cmd_new()
1831 kfree_skb(reply); in ovs_dp_cmd_new()
1871 struct sk_buff *reply; in ovs_dp_cmd_del() local
1875 reply = ovs_dp_cmd_alloc_info(); in ovs_dp_cmd_del()
1876 if (!reply) in ovs_dp_cmd_del()
1885 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid, in ovs_dp_cmd_del()
1892 ovs_notify(&dp_datapath_genl_family, reply, info); in ovs_dp_cmd_del()
1898 kfree_skb(reply); in ovs_dp_cmd_del()
1904 struct sk_buff *reply; in ovs_dp_cmd_set() local
1908 reply = ovs_dp_cmd_alloc_info(); in ovs_dp_cmd_set()
1909 if (!reply) in ovs_dp_cmd_set()
1922 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid, in ovs_dp_cmd_set()
1927 ovs_notify(&dp_datapath_genl_family, reply, info); in ovs_dp_cmd_set()
1933 kfree_skb(reply); in ovs_dp_cmd_set()
1939 struct sk_buff *reply; in ovs_dp_cmd_get() local
1943 reply = ovs_dp_cmd_alloc_info(); in ovs_dp_cmd_get()
1944 if (!reply) in ovs_dp_cmd_get()
1953 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid, in ovs_dp_cmd_get()
1958 return genlmsg_reply(reply, info); in ovs_dp_cmd_get()
1962 kfree_skb(reply); in ovs_dp_cmd_get()
2188 struct sk_buff *reply; in ovs_vport_cmd_new() local
2206 reply = ovs_vport_cmd_alloc_info(); in ovs_vport_cmd_new()
2207 if (!reply) in ovs_vport_cmd_new()
2249 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_new()
2263 ovs_notify(&dp_vport_genl_family, reply, info); in ovs_vport_cmd_new()
2268 kfree_skb(reply); in ovs_vport_cmd_new()
2275 struct sk_buff *reply; in ovs_vport_cmd_set() local
2279 reply = ovs_vport_cmd_alloc_info(); in ovs_vport_cmd_set()
2280 if (!reply) in ovs_vport_cmd_set()
2310 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_set()
2316 ovs_notify(&dp_vport_genl_family, reply, info); in ovs_vport_cmd_set()
2321 kfree_skb(reply); in ovs_vport_cmd_set()
2329 struct sk_buff *reply; in ovs_vport_cmd_del() local
2335 reply = ovs_vport_cmd_alloc_info(); in ovs_vport_cmd_del()
2336 if (!reply) in ovs_vport_cmd_del()
2350 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_del()
2371 ovs_notify(&dp_vport_genl_family, reply, info); in ovs_vport_cmd_del()
2376 kfree_skb(reply); in ovs_vport_cmd_del()
2384 struct sk_buff *reply; in ovs_vport_cmd_get() local
2388 reply = ovs_vport_cmd_alloc_info(); in ovs_vport_cmd_get()
2389 if (!reply) in ovs_vport_cmd_get()
2397 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_get()
2403 return genlmsg_reply(reply, info); in ovs_vport_cmd_get()
2407 kfree_skb(reply); in ovs_vport_cmd_get()