From: Tihomir Heidelberg (qotlfc@register.com)
Date: Wed Dec 04 2002 - 22:20:09 EET
Hi Sanyi,
thanks for reply, I applyed a fix explained in my post to linux-hams
and I am waiting to see if this bug will occur again....
please, are you interested for testing this also ? it would be also
good if ha5ob is interested... it would help me to find if it helps
or not, because it is hard to find a host with high traffic that
have this problem :)
to try it you just need to edit /usr/src/linux/net/ax25/af_ax25.c
and in function ax25_free_sock just add this line at the end:
sk->protinfo.ax25->sk=NULL;
so, the ax25_free_sock function should look:
static void ax25_free_sock(struct sock *sk)
{
ax25_free_cb(sk->protinfo.ax25);
sk->protinfo.ax25->sk=NULL;
}
of course, then you should do make modules;make modules_install
if you use ax25 in module or make install if you have it compiled
in kernel.
this should not do anything harmfull in kernel, I am quite sure :)
by my opinion, when kernel destroy an socket, there is still a pointer
in ax25 control block that points to that destroyed socket and everytime
it access it it crash.
so, will see if this will help...
73 de Tihomir, terhi.victor@logonet.com
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to bwo@hoshi.silex.jp
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Wed Dec 04 2002 - 22:26:17 EET