Lines Matching refs:reply
69 /* Check if need to build a reply message.
70 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */
934 struct sk_buff *reply;
992 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
994 if (IS_ERR(reply)) {
995 error = PTR_ERR(reply);
1021 if (unlikely(reply)) {
1024 reply, info->snd_portid,
1063 if (unlikely(reply)) {
1066 reply, info->snd_portid,
1078 if (reply)
1079 ovs_notify(&dp_flow_genl_family, reply, info);
1086 kfree_skb(reply);
1181 struct sk_buff *reply = NULL;
1205 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1207 if (IS_ERR(reply)) {
1208 error = PTR_ERR(reply);
1234 if (unlikely(reply)) {
1237 reply, info->snd_portid,
1245 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex,
1249 if (IS_ERR(reply)) {
1250 error = PTR_ERR(reply);
1260 if (reply)
1261 ovs_notify(&dp_flow_genl_family, reply, info);
1269 kfree_skb(reply);
1282 struct sk_buff *reply;
1321 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info,
1323 if (IS_ERR(reply)) {
1324 err = PTR_ERR(reply);
1329 return genlmsg_reply(reply, info);
1341 struct sk_buff *reply;
1384 reply = ovs_flow_cmd_alloc_info((const struct sw_flow_actions __force *) flow->sf_acts,
1386 if (likely(reply)) {
1387 if (!IS_ERR(reply)) {
1390 reply, info->snd_portid,
1396 kfree_skb(reply);
1400 ovs_notify(&dp_flow_genl_family, reply, info);
1403 PTR_ERR(reply));
1676 struct sk_buff *reply;
1686 reply = ovs_dp_cmd_alloc_info();
1687 if (!reply)
1747 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1756 ovs_notify(&dp_datapath_genl_family, reply, info);
1771 kfree_skb(reply);
1811 struct sk_buff *reply;
1815 reply = ovs_dp_cmd_alloc_info();
1816 if (!reply)
1825 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1832 ovs_notify(&dp_datapath_genl_family, reply, info);
1838 kfree_skb(reply);
1844 struct sk_buff *reply;
1848 reply = ovs_dp_cmd_alloc_info();
1849 if (!reply)
1862 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1867 ovs_notify(&dp_datapath_genl_family, reply, info);
1873 kfree_skb(reply);
1879 struct sk_buff *reply;
1883 reply = ovs_dp_cmd_alloc_info();
1884 if (!reply)
1893 err = ovs_dp_cmd_fill_info(dp, reply, info->snd_portid,
1898 return genlmsg_reply(reply, info);
1902 kfree_skb(reply);
2128 struct sk_buff *reply;
2146 reply = ovs_vport_cmd_alloc_info();
2147 if (!reply)
2189 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2203 ovs_notify(&dp_vport_genl_family, reply, info);
2208 kfree_skb(reply);
2215 struct sk_buff *reply;
2219 reply = ovs_vport_cmd_alloc_info();
2220 if (!reply)
2250 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2256 ovs_notify(&dp_vport_genl_family, reply, info);
2261 kfree_skb(reply);
2269 struct sk_buff *reply;
2275 reply = ovs_vport_cmd_alloc_info();
2276 if (!reply)
2290 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2311 ovs_notify(&dp_vport_genl_family, reply, info);
2316 kfree_skb(reply);
2324 struct sk_buff *reply;
2328 reply = ovs_vport_cmd_alloc_info();
2329 if (!reply)
2337 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info),
2343 return genlmsg_reply(reply, info);
2347 kfree_skb(reply);