commit | 3408404a4c2a4eead9d73b0bbbfe3f225b65f492 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Jan 24 14:37:46 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 24 14:38:09 2011 -0800 |
tree | b0be5af0a2886a3f5bc075d94c4c621ff6802973 | |
parent | d1dc7abf2fafa34b0ffcd070fd59405aa9c0a4d8 [diff] |
inetpeer: Use correct AVL tree base pointer in inet_getpeer(). Family was hard-coded to AF_INET but should be daddr->family. This fixes crashes when unlinking ipv6 peer entries, since the unlink code was looking up the base pointer properly. Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>