diff options
Diffstat (limited to 'drivers/net/vsockmon.c')
-rw-r--r-- | drivers/net/vsockmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vsockmon.c b/drivers/net/vsockmon.c index a1ba5169ed..4c260074c0 100644 --- a/drivers/net/vsockmon.c +++ b/drivers/net/vsockmon.c @@ -58,7 +58,7 @@ static int vsockmon_change_mtu(struct net_device *dev, int new_mtu) if (!vsockmon_is_valid_mtu(new_mtu)) return -EINVAL; - dev->mtu = new_mtu; + WRITE_ONCE(dev->mtu, new_mtu); return 0; } |