The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

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 <jaspreet@sangoma.com>

Hi,

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.

Thanks

Jaspreet Singh

Next-in-Thread Next Message Previous Message Next Thread

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

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4