greybus: netlink: Fix a netlink warning and double free issue
In case of error, genlmsg_unicast already cancel the skb and free it. Return the error code and don't cancel and free the skb.
Signed-off-by: Alexandre Bailon abailon@baylibre.com
Forum | Documentation | Website | Blog
Updated to GitLab 16.11.9. Please report issues on https://forum.beagleboard.org/c/site-feedback/2.
In case of error, genlmsg_unicast already cancel the skb and free it. Return the error code and don't cancel and free the skb.
Signed-off-by: Alexandre Bailon abailon@baylibre.com
Open hardware computers for makers, educators and professionals