I don’t know if this works for all modules.
I have a problem with my ethernet card module r8169
for
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
It seems to stall or crash. So I do (as root)
rmmod r8169
modprobe r8169
And subsequently restart my network. In Slackware that is (as root)
/etc/rc.d/inet1 restart
Network up again. For now. What’s wrong with the driver/module? I tried a more recent one, same problem. Sigh.