problems calling devinet_ioctl from netfilter i/p hook

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

 



Hello all,

I need to set the IP address of an ethernet interface from a netfilter
receive hook function
(in a kernel module)....If I call devinet_ioctl() from the hook
function....The kernel hangs reporting "Bug at skbuff.c:174"
Looks like I cannot call the ioctl from netfilter hooks since they are
called in an ISR...
I tried moving the ioctl call to a tasklet , still I get the same
error...Is there any other solution ?

Thanks,
Subhash


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux