Fix minor problems when reading codes: - icmpv6_autoconfig: Call net_unlock before return - pkt_sendmsg: Return error for types other than SOCK_RAW Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
Fix minor problems when reading codes: - icmpv6_autoconfig: Call net_unlock before return - pkt_sendmsg: Return error for types other than SOCK_RAW Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>