aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2022-06-28 11:35:17 +0200
committerJakub Kicinski <[email protected]>2022-06-29 20:36:45 -0700
commite65af5403e462ccd7dff6a045a886c64da598c2e (patch)
treee52751e274400cfcf79a1fd94ffea7be23e80c6e /lib/memory-notifier-error-inject.c
parent7b92aa9e613508cbaa29dd35bf27db4c35628b10 (diff)
usbnet: fix memory allocation in helpers
usbnet provides some helper functions that are also used in the context of reset() operations. During a reset the other drivers on a device are unable to operate. As that can be block drivers, a driver for another interface cannot use paging in its memory allocations without risking a deadlock. Use GFP_NOIO in the helpers. Fixes: 877bd862f32b8 ("usbnet: introduce usbnet 3 command helpers") Signed-off-by: Oliver Neukum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions