Re: [PATCH net-next] sock: propagate __sock_cmsg_send() error

2016-05-16 Thread David Miller
From: Eric Dumazet Date: Fri, 13 May 2016 06:14:37 -0700 > From: Eric Dumazet > > __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

Re: [PATCH net-next] sock: propagate __sock_cmsg_send() error

2016-05-13 Thread Soheil Hassas Yeganeh
On Fri, May 13, 2016 at 9:14 AM, Eric Dumazet wrote: > From: Eric Dumazet > > __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 message

[PATCH net-next] sock: propagate __sock_cmsg_send() error

2016-05-13 Thread Eric Dumazet
From: Eric Dumazet __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 Cc: Soheil Hassas Yegan