RDMA/netlink: Do not always generate an ACK for some netlink operations
[platform/kernel/linux-rpi.git] / drivers / infiniband / core / sa_query.c
index 17fc293..bddb543 100644 (file)
@@ -1068,7 +1068,7 @@ int ib_nl_handle_set_timeout(struct sk_buff *skb,
        }
 
 settimeout_out:
-       return skb->len;
+       return 0;
 }
 
 static inline int ib_nl_is_good_resolve_resp(const struct nlmsghdr *nlh)
@@ -1139,7 +1139,7 @@ int ib_nl_handle_resolve_resp(struct sk_buff *skb,
        }
 
 resp_out:
-       return skb->len;
+       return 0;
 }
 
 static void free_sm_ah(struct kref *kref)