Julian Anastasov
0dec879f63
net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TP
...
When same struct dst_entry can be used for many different
neighbours we can not use it for pending confirmations.
The datagram protocols can use MSG_CONFIRM to confirm the
neighbour. When used with MSG_PROBE we do not reach the
code where neighbour is confirmed, so we have to do the
same slow lookup by using the dst_confirm_neigh() helper.
When MSG_PROBE is not used, ip_append_data/ip6_append_data
will set the skb flag dst_pending_confirm.
Reported-by: YueHaibing <yuehaibing@huawei.com >
Fixes: 5110effee8 ("net: Do delayed neigh confirmation.")
Fixes: f2bb4bedf3 ("ipv4: Cache output routes in fib_info nexthops.")
Signed-off-by: Julian Anastasov <ja@ssi.bg >
Acked-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-02-07 13:07:47 -05:00
..
2017-02-03 16:58:20 -05:00
2017-01-25 14:12:21 -05:00
2017-01-16 12:57:48 +01:00
2016-04-27 22:48:24 -04:00
2016-07-07 10:15:34 +10:00
2017-02-02 23:09:08 -05:00
2017-01-17 10:23:08 +01:00
2017-01-18 17:07:14 -05:00
2016-09-28 04:48:00 -04:00
2017-01-30 15:14:22 -05:00
2016-12-24 11:46:01 -08:00
2016-10-30 12:42:58 -04:00
2016-06-30 05:03:36 -04:00
2016-10-20 14:32:22 -04:00
2017-01-09 15:49:12 -05:00
2017-01-02 13:01:03 -05:00
2017-01-20 14:35:51 -05:00
2017-01-13 22:37:16 -05:00
2016-06-05 22:56:42 -04:00
2017-01-18 13:04:29 -05:00
2016-12-29 11:38:31 -05:00
2016-11-03 16:10:26 -04:00
2016-04-27 22:48:23 -04:00
2016-12-24 11:46:01 -08:00
2016-09-16 04:24:07 -04:00
2016-12-24 11:46:01 -08:00
2017-02-07 13:07:47 -05:00
2017-01-05 11:03:07 -05:00
2017-01-30 15:14:22 -05:00
2016-11-18 10:59:15 -05:00
2016-11-18 10:59:15 -05:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-12 16:48:26 -05:00
2016-12-03 12:29:53 -05:00
2016-10-23 19:35:24 -04:00
2016-11-24 12:44:36 +01:00
2017-02-07 13:07:47 -05:00
2017-02-02 23:34:19 -05:00
2016-11-03 15:25:26 -04:00
2017-02-07 13:07:47 -05:00
2017-02-07 13:07:46 -05:00
2017-01-09 13:58:57 -05:00
2017-01-30 15:00:58 -05:00
2016-10-29 17:12:43 -04:00
2016-05-11 14:43:19 -04:00
2016-09-21 00:22:59 -04:00
2016-11-22 13:27:16 -05:00
2016-05-11 14:43:19 -04:00
2016-12-06 11:34:24 -05:00
2016-08-23 23:11:36 -07:00
2017-01-28 10:33:06 -05:00
2016-11-21 13:20:17 -05:00
2016-05-11 14:43:19 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-02-07 13:07:46 -05:00
2017-02-03 11:19:34 -05:00
2016-11-21 13:20:17 -05:00
2017-02-07 13:07:46 -05:00
2017-02-03 11:19:34 -05:00
2016-06-10 23:07:49 -07:00
2016-09-19 20:59:34 -04:00
2017-02-07 13:07:46 -05:00
2016-03-01 17:18:44 -05:00
2016-09-21 00:23:00 -04:00
2017-01-13 22:37:16 -05:00
2016-11-21 13:20:17 -05:00
2017-01-13 22:37:16 -05:00
2016-11-21 13:20:17 -05:00
2016-05-11 14:43:19 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-01-29 19:17:23 -05:00
2016-07-11 13:27:06 -07:00
2016-09-08 16:13:09 -07:00
2016-11-24 15:32:14 -05:00
2016-10-20 14:32:22 -04:00
2016-06-17 20:23:32 -07:00
2017-02-07 13:07:47 -05:00
2016-11-24 15:32:14 -05:00
2016-09-12 15:52:44 -07:00
2017-01-10 10:57:12 +01:00