]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[IPV6]: Fix OOPS when using IPV6_ADDRFORM
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Thu, 5 May 2005 20:35:15 +0000 (13:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 May 2005 20:35:15 +0000 (13:35 -0700)
commit476e19cfa131e2b6eedc4017b627cdc4ca419ffb
tree8c6881affa0d20a3ce2dd8d4f9a5b0ba588916c5
parent25ae3f59b10dbd5e2b9b192ecc90ea935cc23e68
[IPV6]: Fix OOPS when using IPV6_ADDRFORM

This causes sk->sk_prot to change, which makes the socket
release free the sock into the wrong SLAB cache.  Fix this
by introducing sk_prot_creator so that we always remember
where the sock came from.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c