Bluetooth: L2CAP: Fix possible multiple reject send
[platform/kernel/linux-starfive.git] / net / ethtool / netlink.c
index 3bbd5af..fe3553f 100644 (file)
@@ -505,6 +505,7 @@ static int ethnl_default_dumpit(struct sk_buff *skb,
                                ret = skb->len;
                        break;
                }
+               ret = 0;
        }
        rtnl_unlock();