[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02532) oops during sock->ops->connect in ipv6
- To: <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 02532) oops during sock->ops->connect in ipv6
- From: "Aj" <rings@xxxxxxxxxxxxx>
- Date: Tue, 9 Sep 2003 22:35:03 -0700
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi All,
I am trying to establish an "IPC" from the kernel to a user land. I am doing this using TCP sockets with ipv6. The userland process is the server and I am trying to establish a TCP connection from within the kernel and pass some message.
I have been successful in doing this when the client is a kernel module and its able to open a tcp (ipv6) session with the userland-server and pass the message. But when I put in the same client-code into the kernel and compile it into the bzImage and run it, I get an oops! The oops occurs during the sock->ops->connect call
The error is
"connect: Invalid argument 0000
kernel BUG at skbuff.c:174"
The SAME code works fine when the client is in a module but i have no clue why its not working when the code is compiled into the kernel! Is this some kernel bug (perhaps in the ipv6 code?) if so is there a patch for it!?
Am using the kernel 2.4.19 and the ipv6 part of my kernel is built as a module.
any help regarding this will be greatly appreciated...
TIA,
Ajay