]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: Avoid allocating rx buffer using ATOMIC in ndo_open
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 18 May 2022 06:20:07 +0000 (08:20 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 May 2022 09:38:02 +0000 (11:38 +0200)
commita2cd39dea047f851a5f73f58bdaba1a08cc9a47d
treefce5168d79f5122aa8c54feaf59510e9cece8550
parentd253e026d33a5378f86356ad5884e7fdfa233e78
net: fec: Avoid allocating rx buffer using ATOMIC in ndo_open

Make ndo_open less sensitive to memory pressure.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20220518062007.10056-1-michael@amarulasolutions.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/fec_main.c