Messages in this thread | | | Date | Tue, 23 Mar 1999 10:45:54 +0530 (IST) | From | G Jalaja Devi <> | Subject | Re: Doubt on Linux |
| |
> > > When IP has to send a packet on a particular interface, it gets the > "hard_start_xmit" function pointer of that interface and hands over the > sk_buff to this function. > If after calling this send function, the driver ( or module ) is unloaded > from the kernel ( using rmmod from user space ), the function pointer > becomes invalid and the kernel crashes. > > If it was a direct function call ( not function pointer ) from IP to the > module, the rmmod would have failed, returning module busy. > > How do we handle this case ? > > Even if i put a lock in the entry of the send function also, the above case > can still occur. > > Is there any soultion for this. > > Thanks in advance >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |