Willem de Bruijn
f4713a3dfa
net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks
...
TCP timestamping introduced MSG_ERRQUEUE handling for TCP sockets.
If the socket is of family AF_INET6, call ipv6_recv_error instead
of ip_recv_error.
This change is more complex than a single branch due to the loadable
ipv6 module. It reuses a pre-existing indirect function call from
ping. The ping code is safe to call, because it is part of the core
ipv6 module and always present when AF_INET6 sockets are active.
Fixes: 4ed2d765 (net-timestamp: TCP timestamping)
Signed-off-by: Willem de Bruijn <willemb@google.com>
----
It may also be worthwhile to add WARN_ON_ONCE(sk->family == AF_INET6)
to ip_recv_error.
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-26 15:45:04 -05:00
..
2014-11-10 17:56:28 +01:00
2014-11-26 15:45:04 -05:00
2014-09-18 10:54:36 +02:00
2014-09-28 17:30:35 -04:00
2014-10-01 15:46:20 -04:00
2014-07-07 21:14:21 -07:00
2014-07-29 11:43:50 -07:00
2014-02-25 07:04:17 +01:00
2014-08-22 12:23:10 -07:00
2013-12-28 17:01:46 -05:00
2014-11-16 14:11:45 -05:00
2014-10-14 15:59:37 -04:00
2014-08-06 18:01:24 -07:00
2014-11-10 15:09:45 -05:00
2014-11-05 15:00:51 -05:00
2014-09-08 15:23:05 -07:00
2014-10-30 19:51:56 -04:00
2014-09-23 12:47:38 -04:00
2014-11-16 16:55:06 -05:00
2014-05-14 15:31:45 -04:00
2014-01-13 22:35:46 -08:00
2014-10-29 15:21:30 -04:00
2014-08-23 12:21:21 -07:00
2013-12-29 16:34:25 -05:00
2013-10-08 23:19:24 -04:00
2014-09-08 16:42:42 -07:00
2014-05-12 14:03:41 -04:00
2014-10-01 15:46:19 -04:00
2014-10-07 13:22:11 -04:00
2014-01-27 16:22:11 -08:00
2014-09-28 16:35:42 -04:00
2014-10-20 12:38:13 -04:00
2014-11-11 15:32:45 -05:00
2014-10-17 23:45:26 -04:00
2014-10-03 16:53:33 -07:00
2014-11-23 21:11:17 -05:00
2014-02-25 07:04:17 +01:00
2014-08-22 12:23:11 -07:00
2014-10-07 13:22:11 -04:00
2014-07-15 16:12:48 -07:00
2014-10-07 00:10:49 -04:00
2014-10-06 00:32:20 -04:00
2014-02-19 11:41:25 +01:00
2014-11-26 15:45:04 -05:00
2014-07-27 22:34:36 -07:00
2014-09-19 17:15:31 -04:00
2014-07-23 15:13:26 -07:00
2014-10-30 19:20:40 -04:00
2014-10-18 09:31:37 -07:00
2014-10-08 21:40:54 -04:00
2014-09-01 18:12:45 -07:00
2014-09-30 17:09:16 -04:00
2014-09-01 18:12:45 -07:00
2014-09-29 00:13:10 -04:00
2014-09-01 18:12:45 -07:00
2014-09-29 12:31:12 -04:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-11-21 15:33:50 -05:00
2014-11-25 14:29:18 -05:00
2014-05-03 19:23:07 -04:00
2014-09-08 09:51:29 +09:00
2014-08-14 14:38:54 -07:00
2014-09-29 14:41:22 -04:00
2014-09-26 00:22:47 -04:00
2014-10-30 19:58:30 -04:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-10-01 16:27:52 -04:00
2014-09-01 18:12:45 -07:00
2013-10-19 19:12:11 -04:00
2014-09-01 18:12:45 -07:00
2014-09-29 00:13:10 -04:00
2014-09-01 18:12:45 -07:00
2014-11-26 15:45:04 -05:00
2012-03-11 23:42:51 -07:00
2013-04-19 14:57:56 -04:00
2013-10-19 19:12:11 -04:00
2014-10-20 12:38:12 -04:00
2014-09-19 15:57:15 -04:00
2014-09-05 17:43:45 -07:00
2014-05-23 16:28:53 -04:00
2014-02-25 07:04:16 +01:00
2013-12-26 13:43:21 -05:00
2007-10-10 16:55:54 -07:00
2014-06-02 11:00:41 -07:00
2014-05-24 00:32:30 -04:00
2014-03-14 07:28:07 +01:00
2014-06-30 07:49:47 +02:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00