Please help Newbie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ive been trying to introduce delays in  packet
processing by using code like this in a netfilter
module. 

j = jiffies + RB_RTT_DELAY;
       while (jiffies < j)
               schedule();

However the system hangs when i do this and yet this
is an example from the Linux Device Driver book.
Please do let me know what I am doing wrong.
 
I suspect this forum is a little too advanced to
answer questions like mine. If this is the case i'd
also be grateful if you could point me to the correct
newgroup or mailing list

thanks
Joe K


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux