summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/mmapper_kern.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-10 01:14:02 +0200
committerRichard Weinberger <richard@nod.at>2012-03-25 00:29:53 +0100
commit31efcebb7d7196adcee73027f513d7c0bf572b47 (patch)
treec3064342091568bd66f1f5cd85b3c1972ed697da /arch/um/drivers/mmapper_kern.c
parentum: convert count_lock to mutex, fix a race in line_open() (diff)
downloadlinux-31efcebb7d7196adcee73027f513d7c0bf572b47.tar.xz
linux-31efcebb7d7196adcee73027f513d7c0bf572b47.zip
um: fix races between line_open() and line_config()
Pull parse_chan_pair() call into setup_one_line(), under the mutex. We really don't want open() to succeed before parse_chan_pair() had been done (or after it has failed, BTW). We also want "remove con<n>" to free irqs, etc., same as "config con<n>=none". Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/mmapper_kern.c')
0 files changed, 0 insertions, 0 deletions