Alexander Aring dd9082f4a9 net: sock: fix in-kernel mark setting
This patch fixes the in-kernel mark setting by doing an additional
sk_dst_reset() which was introduced by commit 50254256f382 ("sock: Reset
dst when changing sk_mark via setsockopt"). The code is now shared to
avoid any further suprises when changing the socket mark value.

Fixes: 84d1c617402e ("net: sock: add sock_set_mark")
Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-01 15:18:49 -07:00
..
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2021-04-16 11:41:07 -07:00
2021-04-20 16:08:02 -07:00
2021-04-29 11:57:23 -07:00
2021-06-01 15:18:49 -07:00
2020-06-18 20:46:23 -07:00