This driver will be in a deadlock, When the rx offload is set by ethtool.
So, The pch_gbe_reinit_locked function was modified.
Signed-off-by: Toshiharu Okada <redacted>
---
drivers/net/pch_gbe/pch_gbe_main.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Are you sure you can just blindly delete the netif_running() check here?
Yes, sure.
pch_gbe_reinit_locked() is called after confirming of netif_running() except
for pch_gbe_reset_task() function.
This netif_running() was redundant.
Best regards
Toshiharu Okada(OKI semiconductor)
Are you sure you can just blindly delete the netif_running() check here?
Yes, sure.
pch_gbe_reinit_locked() is called after confirming of netif_running() except
for pch_gbe_reset_task() function.
This netif_running() was redundant.
Are you sure you can just blindly delete the netif_running() check here?
Yes, sure.
pch_gbe_reinit_locked() is called after confirming of netif_running() except
for pch_gbe_reset_task() function.
This netif_running() was redundant.
Thanks for explaining, applied, thank you.
Actually, I had to revert, this patch introduces an obvious compiler warning:
drivers/net/pch_gbe/pch_gbe_main.c: In function 'pch_gbe_reinit_locked':
drivers/net/pch_gbe/pch_gbe_main.c:533:21: warning: unused variable 'netdev'
Sloppy build issues like this reflects very poorly upon the patch
submitter.