Fixes client timeouts on invoke on some platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
{
struct blob_attr **attrbuf;
void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
{
struct blob_attr **attrbuf;
- struct ubus_request_data req;
+ struct ubus_request_data req = {};
struct ubus_object *obj;
int method;
int ret = 0;
struct ubus_object *obj;
int method;
int ret = 0;