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 ?
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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