Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw sockets

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Sunday, July 11, 2010 - 1:02 am

Le dimanche 11 juillet 2010 à 08:19 +0300, Avi Kivity a écrit :

OK, thanks Avi for this information, as I was not aware of this.

So something overwrote sk->sk_prot pointer (or skb->sk pointer) with
some data.

tcp sockets are allocated from a dedicated kmem_cache (because of
SLAB_DESTROY_RCU attribute). Their sk->sk_prot should never change in
normal operation, since underlying memory cannot be reused by another
object type in kernel. It should be NULL or &tcp_prot

Felipe, please describe your configuration as much as possible.
It might be a driver bug with with special kind of network frames.

lsmod
lspci -v
ethtool -k eth0
ethtool -k eth1 (if applicable)



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Squid hang up on 2.6.34, Felipe W Damasio, (Thu Jul 8, 12:03 pm)
Re: Squid hang up on 2.6.34, Felipe W Damasio, (Thu Jul 8, 2:30 pm)
Re: Squid hang up on 2.6.34, Eric Dumazet, (Thu Jul 8, 3:06 pm)
Re: Squid hang up on 2.6.34, Eric Dumazet, (Thu Jul 8, 3:08 pm)
Re: Squid hang up on 2.6.34, Felipe W Damasio, (Fri Jul 9, 8:03 am)
Re: Squid hang up on 2.6.34, Felipe W Damasio, (Fri Jul 9, 9:03 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Fri Jul 9, 11:16 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Sat Jul 10, 8:11 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Sun Jul 11, 12:11 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Sun Jul 11, 12:13 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Eric Dumazet, (Sun Jul 11, 1:02 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Sun Jul 11, 5:52 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Mon Jul 12, 11:49 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 7:24 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 7:49 am)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 1:55 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 2:06 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 8:27 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Tue Jul 13, 8:51 pm)
Re: [PATCH] tproxy: nf_tproxy_assign_sock() can handle tw ..., Felipe W Damasio, (Fri Jul 16, 8:41 am)