summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-05-31 17:00:30 -0400
committerDavid S. Miller <davem@davemloft.net>2021-06-01 15:18:49 -0700
commitdd9082f4a9f94280fbbece641bf8fc0a25f71f7a (patch)
treec56efd77a351e60ba89dde14070454673b192d2f /drivers/net/virtio_net.c
parent4ef8d857b5f494e62bce9085031563fda35f9563 (diff)
downloadlinux-dd9082f4a9f94280fbbece641bf8fc0a25f71f7a.tar.gz
linux-dd9082f4a9f94280fbbece641bf8fc0a25f71f7a.tar.bz2
linux-dd9082f4a9f94280fbbece641bf8fc0a25f71f7a.zip
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>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions