aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2009-03-04 11:57:20 -0800
committerGreg Kroah-Hartman <[email protected]>2009-03-24 16:38:26 -0700
commite0edd3c65aa5b53e20280565a7ce11675eb7ed6b (patch)
treee9d7a8834eba3f19635f770f5d19bfe88a2485e4 /net/lapb/lapb_in.c
parentae1b41715ee2aae356fbcca032838b71d70b855f (diff)
sysfs: don't block indefinitely for unmapped files.
Modify sysfs bin files so that we can remove the bin file while they are still mapped. When the kobject is removed we unmap the bin file and arrange for future accesses to the mapping to receive SIGBUS. Implementing this prevents a nasty DOS when pci devices are hot plugged and unplugged. Where if any of their resources were mmaped the kernel could not free up their pci resources or release their pci data structures. [[email protected]: remove unused var] Signed-off-by: Eric W. Biederman <[email protected]> Cc: Jesse Barnes <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions