The HyperNews Linux KHG Discussion Pages

Question: Whats the difference between dev_tint(dev) and mark_bh(NET_BH)?

Forum: The Linux Kernel Hackers' Guide
Date: Fri, 21 Nov 1997 14:39:17 GMT
From: Jaspreet Singh <>


I don't know what the difference between the two is. It looks as if "net_bh()" calls devtint ( and i guess doing mark_bh(NET_BH) calls net_bh() ) .

My driver calls dev_tint again and again due to heavy traffic and as a result the kernel crashes with the error: "release:kernel stack corruption".

 However when I replace that call with a mark_bh(NET_BH)  then my kernel doesn't crash.

If someone could shed some light as to what the difference between the two is that would be great.


Jaspreet Singh