Soheil Hassas Yeganeh f8e7718cc0 packet: propagate sock_cmsg_send() error
sock_cmsg_send() can return different error codes and not only
-EINVAL, and we should properly propagate them.

Fixes: c14ac9451c34 ("sock: enable timestamping using control messages")
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-22 01:41:48 -04:00
..
2016-04-13 10:41:10 +02:00
2016-05-27 15:26:11 -07:00
2016-05-23 13:51:10 -07:00
2016-07-05 14:08:47 -07:00
2016-05-11 19:36:28 -04:00
2016-06-22 16:32:23 -04:00
2016-05-29 22:33:25 -07:00
2016-07-04 16:09:49 -07:00
2016-06-07 15:30:21 -07:00
2016-06-09 23:41:03 -07:00
2016-05-08 23:46:14 -04:00