summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-07-03 19:46:23 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-07-04 13:03:26 +0300
commit98ff534ec2cd02496c166614e6c1391d8e092e51 (patch)
tree65037747d29d4cdd20dcac2b0809dbcb2ea41c58 /include
parenta0470a9f699a847e519293db9e33a4dae169467d (diff)
downloadlinux-98ff534ec2cd02496c166614e6c1391d8e092e51.tar.xz
um: vector: always reset vp->opened
If open fails, we have already set vp->opened, but it's not reset so that any further attempts will just return -ENXIO. Reset vp->opened even if close has nothing to do. This helps e.g. with slirp4netns handling only a single connection, you can then restart it and open the device again. Link: https://patch.msgid.link/20240703184622.df40c5c38461.Id4e20b48938c6019d99e6133227a34ac059db466@changeid Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions