Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sock: propagate __sock_cmsg_send() error
__sock_cmsg_send() might return different error codes, not only -EINVAL. Fixes: 24025c4 ("ipv4: process socket-level control messages in IPv4") Fixes: ad1e46a ("ipv6: process socket-level control messages in IPv6") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information