Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1654956

[BUG] ntb: Sleep in interrupt handling

From Jia-Ju Bai <baijiaju1990@163.com>
Newsgroups linux.kernel
Subject [BUG] ntb: Sleep in interrupt handling
Date 2017-06-01 11:20 +0200
Message-ID <tNuqR-EJ-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


According to ntb_transport.c, the driver may sleep in interrupt handling.
The function call path is:
ntb_transport_rxc_db (tasklet_init indicates it handles interrupt)
   ntb_process_rxc
     ntb_async_rx
       ntb_async_rx_submit
         schedule_timeout --> may sleep

This bug is found by my static analysis tool and my code review.
I hope to fix it, but I do not have a good solution.

Thanks,
Jia-Ju Bai

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[BUG] ntb: Sleep in interrupt handling Jia-Ju Bai <baijiaju1990@163.com> - 2017-06-01 11:20 +0200
  RE: [BUG] ntb: Sleep in interrupt handling "Allen Hubbe" <Allen.Hubbe@dell.com> - 2017-06-01 15:20 +0200

csiph-web