All of lore.kernel.org
 help / color / mirror / Atom feed
* Replacing tcp_v4_rcv from a module
@ 2003-11-25  8:21 Gong Su
  2003-11-25  9:29 ` Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Gong Su @ 2003-11-25  8:21 UTC (permalink / raw)
  To: linux-kernel

I need some customized function inside tcp_v4_rcv so I wrote a module to
replace tcp_protocol->handler with my own function pointer; and currently
my own tcp_v4_rcv is just a copy of the original tcp_v4_rcv. But as soon
as traffic came in, my machine locks up hard. I can't think of a reason
why it would do so since I've changed other functions the same way, e.g.,
replacing ip_packet_type->func with my own ip_rcv function pointer without
problem. Am I missing something obvious? Thanks for any enlightenment.

-- 
/Gong



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-25 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25  8:21 Replacing tcp_v4_rcv from a module Gong Su
2003-11-25  9:29 ` Raj
2003-11-25 15:40   ` Gong Su

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.