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-06 14:59:19 -05:00
2014-09-24 14:03:32 +02:00
2013-09-23 16:29:41 -04:00
2013-12-06 12:37:56 -05:00
2013-04-08 17:16:57 -04:00
2014-11-12 12:06:24 +01:00
2014-10-07 00:02:30 -04:00
2014-09-24 02:02:24 +02:00
2012-06-17 16:29:38 -07:00
2014-10-14 12:46:22 -04:00
2014-02-12 19:23:32 -05:00
2014-07-30 19:28:41 +02:00
2014-02-12 19:23:32 -05:00
2014-09-23 12:09:27 -04:00
2014-05-16 17:23:41 -04:00
2013-07-31 17:50:01 -07:00
2013-08-10 01:16:44 -07:00
2014-05-05 13:13:50 -04:00
2014-09-18 10:54:36 +02:00
2013-12-28 17:02:46 -05:00
2011-11-30 18:51:03 -05:00
2013-07-31 17:50:02 -07:00
2014-01-13 17:39:11 +01:00
2011-08-08 14:26:29 -04:00
2014-09-11 13:37:02 +02:00
2014-09-26 16:14:16 -04:00
2013-12-10 17:56:54 -05:00
2014-02-08 10:36:58 -05:00
2014-08-22 19:57:23 -07:00
2013-09-20 14:49:32 -04:00
2014-02-09 17:32:50 -08:00
2013-12-06 12:37:56 -05:00
2014-07-17 16:02:29 -07:00
2013-12-10 21:50:00 -05:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2014-02-09 17:32:49 -08:00
2014-02-09 17:32:49 -08:00
2014-10-17 23:54:46 -04:00
2013-01-09 23:59:53 -08:00
2014-09-08 09:51:29 +09:00
2014-09-16 10:08:49 +02:00
2013-11-07 19:28:58 -05:00
2014-02-04 20:19:51 -08:00
2013-09-20 14:49:33 -04:00
2013-03-26 12:32:13 -04:00
2014-09-05 17:47:02 -07:00
2014-04-16 15:05:11 -04:00
2014-02-12 07:02:11 +01:00
2013-09-20 14:49:33 -04:00
2014-09-30 01:02:26 -04:00
2014-09-19 17:28:26 -04:00
2014-10-07 00:10:49 -04:00
2014-06-04 22:46:38 -07:00
2013-01-27 22:46:33 -05:00
2014-10-03 16:53:33 -07:00
2013-09-20 14:49:33 -04:00
2014-02-06 09:34:58 +01:00
2014-05-16 17:23:42 -04:00
2014-05-15 15:51:42 -04:00
2014-10-14 13:15:15 -04:00
2014-04-15 12:58:34 -04:00
2014-10-17 23:48:07 -04:00
2014-11-26 15:45:04 -05:00
2014-09-22 16:27:10 -04:00
2014-05-07 15:30:52 -04:00
2014-09-08 09:51:29 +09:00
2014-05-14 16:07:23 -04:00
2014-06-27 15:53:35 -07:00
2014-07-01 23:46:21 -07:00
2014-09-08 16:42:42 -07:00
2014-08-24 18:09:23 -07:00
2014-10-07 00:02:30 -04:00
2014-05-24 00:32:30 -04:00
2014-01-04 20:10:24 -05:00
2014-09-05 17:40:33 -07:00
2014-10-06 00:32:21 -04:00
2014-10-02 18:30:58 +02:00
2014-09-28 16:35:42 -04:00
2010-02-16 23:05:38 -08:00
2014-10-30 20:01:18 -04:00
2014-02-09 17:32:50 -08:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:38 -04:00
2014-10-14 02:18:27 +02:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2014-01-01 22:22:43 -05:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2014-01-03 20:56:48 -05:00
2014-09-11 13:37:02 +02:00
2014-07-07 21:29:24 -07:00
2013-12-06 12:37:56 -05:00
2014-09-22 16:23:15 -04:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2014-09-26 18:42:31 +02:00
2014-09-30 14:00:48 -04:00
2011-05-27 13:41:33 -04:00
2013-09-21 14:01:39 -04:00
2014-08-07 20:55:21 -04:00
2014-10-16 14:52:35 -04:00
2014-02-08 10:36:58 -05:00
2013-09-21 14:01:39 -04:00
2014-03-14 22:15:26 -04:00
2013-09-21 14:01:39 -04:00
2014-01-19 19:53:18 -08:00
2014-10-06 18:02:32 -04:00
2014-10-06 00:55:10 -04:00
2014-05-23 16:28:53 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2014-01-21 23:17:20 -08:00
2014-08-15 13:51:40 +02:00
2013-10-10 00:08:07 -04:00
2013-09-23 01:51:08 -04:00
2014-03-24 12:45:01 -04:00
2014-07-15 16:13:07 -07:00
2014-10-03 12:37:06 -07:00
2013-09-23 01:51:09 -04:00
2014-06-02 11:00:41 -07:00
2014-10-15 07:48:18 +02:00
2014-10-08 21:40:54 -04:00
2013-12-19 18:51:20 -05:00
2013-09-23 01:51:09 -04:00
2013-10-21 18:43:02 -04:00
2014-10-18 13:01:36 -04:00
2012-06-09 14:56:12 -07:00
2014-01-19 19:53:18 -08:00
2014-05-22 14:57:15 -04:00
2014-11-10 15:09:45 -05:00
2014-10-01 21:35:51 -04:00
2013-09-23 16:29:40 -04:00
2013-07-27 22:14:06 -07:00
2014-11-18 15:38:44 -05:00
2013-09-23 16:29:40 -04:00
2014-09-05 17:35:28 -07:00
2014-02-17 16:42:39 -05:00
2013-09-23 16:29:41 -04:00
2010-04-22 16:12:36 -07:00
2014-09-02 13:37:56 +02:00