On 11/13/2015 08:57 AM, Wan, Kaike wrote: >> From: [email protected] [mailto:linux-rdma- >> [email protected]] On Behalf Of [email protected] >> Sent: Friday, October 30, 2015 8:24 AM >> To: [email protected] >> Cc: Wan, Kaike >> Subject: [PATCH v2 1/1] IB/sa: Put netlink request into the request list >> before >> sending >> >> From: Kaike Wan <[email protected]> >> >> It was found by Saurabh Sengar that the netlink code tried to allocate >> memory with GFP_KERNEL while holding a spinlock. While it is possible to fix >> the issue by replacing GFP_KERNEL with GFP_ATOMIC, it is better to get rid >> of the spinlock while sending the packet. However, in order to protect >> against a race condition that a quick response may be received before the >> request is put on the request list, we need to put the request on the list >> first. >> >> Signed-off-by: Kaike Wan <[email protected]> >> --- > > Reported-by: Saurabh Sengar <[email protected]> >
This was pulled in for 4.4-rc. Thanks. -- Doug Ledford <[email protected]> GPG KeyID: 0E572FDD
signature.asc
Description: OpenPGP digital signature
