commit | 2632616bc484de9281bc2a1f5b033325783f8a10 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri May 13 06:14:37 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 16 13:46:23 2016 -0400 |
tree | b88e37332b1bb08239b5664e72e82f84f51d15d7 | |
parent | a986a05de95b730fd6a00b2b2f82a06d917fd6a2 [diff] |
sock: propagate __sock_cmsg_send() error __sock_cmsg_send() might return different error codes, not only -EINVAL. Fixes: 24025c465f77 ("ipv4: process socket-level control messages in IPv4") Fixes: ad1e46a83716 ("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>