aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2015-03-05 13:24:41 +1030
committerRusty Russell <[email protected]>2015-03-10 11:48:28 +1030
commit88660f7fb94cda1f8f63ee92bfcd0db39a6361e2 (patch)
treedb1aef23fcc5c191a3b4fc1255aee5d46b50558f /net/unix/sysctl_net_unix.c
parenteeb8a7e8bb123e84daeef84f5a2eab99ad2839a2 (diff)
virtio_balloon: set DRIVER_OK before using device
virtio spec requires that all drivers set DRIVER_OK before using devices. While balloon isn't yet included in the virtio 1 spec, previous spec versions also required this. virtio balloon might violate this rule: probe calls kthread_run before setting DRIVER_OK, which might run immediately and cause balloon to inflate/deflate. To fix, call virtio_device_ready before running the kthread. Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Rusty Russell <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions