David Barmann
50254256f3
sock: Reset dst when changing sk_mark via setsockopt
...
When setting the SO_MARK socket option, if the mark changes, the dst
needs to be reset so that a new route lookup is performed.
This fixes the case where an application wants to change routing by
setting a new sk_mark. If this is done after some packets have already
been sent, the dst is cached and has no effect.
Signed-off-by: David Barmann <david.barmann@stackpath.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-08 19:36:13 -08:00
..
2018-07-06 12:32:12 +02:00
2018-11-03 10:35:52 -07:00
2018-11-07 22:23:30 -08:00
2018-06-28 10:40:47 -07:00
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-09-25 10:35:29 -07:00
2018-11-01 19:58:52 -07:00
2018-10-19 13:49:34 -07:00
2018-10-22 19:37:36 -07:00
2018-10-28 19:18:09 -07:00
2018-10-23 10:57:06 -07:00
2018-06-28 10:40:47 -07:00
2018-11-01 19:58:52 -07:00
2018-11-08 19:36:13 -08:00
2018-07-27 13:17:50 -07:00
2018-11-08 17:13:08 -08:00
2018-09-21 19:48:36 -07:00
2018-10-04 09:40:52 -07:00
2018-10-22 19:49:04 -07:00
2018-06-26 11:33:04 +09:00
2018-09-21 19:45:52 -07:00
2018-04-22 21:12:00 -04:00
2018-11-08 17:13:08 -08:00
2018-11-08 17:13:08 -08:00
2018-10-23 10:57:06 -07:00
2018-09-17 18:43:42 -07:00
2018-07-27 09:33:37 -07:00
2018-08-13 20:45:49 -07:00
2018-10-22 19:59:20 -07:00
2018-10-12 13:05:40 +02:00
2018-09-28 12:46:07 +08:00
2018-10-16 00:14:07 -07:00
2018-10-17 22:14:54 -07:00
2018-11-06 07:44:04 -08:00
2018-09-21 18:58:34 -07:00
2018-10-16 00:13:12 -07:00
2018-06-28 10:40:47 -07:00
2018-10-24 14:43:41 +01:00
2018-07-12 16:55:29 -07:00
2018-11-08 17:14:59 -08:00
2018-10-06 14:43:42 -07:00
2018-06-28 10:40:47 -07:00
2018-07-05 20:20:03 +09:00
2018-10-12 21:38:46 -07:00
2018-09-04 21:33:03 -07:00
2018-06-28 10:40:47 -07:00
2018-11-02 23:59:26 -07:00
2018-11-08 16:19:48 -08:00
2018-11-08 17:13:08 -08:00
2018-11-01 19:58:52 -07:00
2018-10-15 12:23:19 -07:00
2018-11-04 08:20:09 -08:00
2018-11-01 19:58:52 -07:00
2018-11-01 19:58:52 -07:00
2018-10-23 10:57:06 -07:00
2018-08-07 12:39:13 -07:00
2018-07-24 14:10:42 -07:00
2018-10-12 12:56:34 +02:00
2018-07-24 14:10:42 -07:00
2018-10-19 11:03:06 -07:00
2018-11-03 18:25:17 -07:00
2018-08-29 15:42:24 +02:00
2018-10-15 12:23:19 -07:00
2018-06-28 13:36:39 +09:00
2018-11-01 19:58:52 -07:00
2018-03-27 13:18:09 -04:00