summaryrefslogtreecommitdiff
path: root/flowtop
AgeCommit message (Expand)AuthorFilesLines
2013-03-15build: Find libncurses by using pkg-configDaniel Borkmann1-1/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann2-0/+23
e summary='commit info' class='commit-info'> authorHannes Reinecke <hare@suse.de>2016-04-26 08:06:58 +0200 committerMartin K. Petersen <martin.petersen@oracle.com>2016-05-22 14:53:06 -0400 commiteb72d0bb84eee5d0dc3044fd17b75e7101dabb57 (patch) tree746f6c67d19372ca2b336027a4e5b1f8d8be6e62 parenta621bac3044ed6f7ec5fa0326491b2d4838bfa93 (diff)
sd: get disk reference in sd_check_events()
sd_check_events() is called asynchronously, and might race with device removal. So always take a disk reference when processing the event to avoid the device being removed while the event is processed. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat
tly 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. [akpm@linux-foundation.org: remove used-once #define] Link: http://lkml.kernel.org/r/20161207060743.1728-1-js07.lee@samsung.com Signed-off-by: Jungseung Lee <js07.lee@samsung.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/switchdev/Makefile')