diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2016-07-20 18:01:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-22 01:41:48 -0400 |
commit | f8e7718cc0445587fe8530fc2d240d9aac2c9072 (patch) | |
tree | 26133ea508e6001b91adef1482973c8b528927a5 /net/batman-adv | |
parent | 882b0f2fba83374149f0a5869d95aa8b44dad31e (diff) | |
download | linux-stable-f8e7718cc0445587fe8530fc2d240d9aac2c9072.tar.gz linux-stable-f8e7718cc0445587fe8530fc2d240d9aac2c9072.tar.bz2 linux-stable-f8e7718cc0445587fe8530fc2d240d9aac2c9072.zip |
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>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions