linux-stable-rt/net/sctp
Pavel Emelyanov a40a7d15ba [SCTP]: IPv4 vs IPv6 addresses mess in sctp_inet[6]addr_event.
All IP addresses that are present in a system are duplicated on
struct sctp_sockaddr_entry. They are linked in the global list
called sctp_local_addr_list. And this struct unions IPv4 and IPv6
addresses.

So, there can be rare case, when a sockaddr_in.sin_addr coincides
with the corresponding part of the sockaddr_in6 and the notifier
for IPv4 will carry away an IPv6 entry.

The fix is to check the family before comparing the addresses.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-12 18:40:38 -07:00
..
Kconfig
Makefile
associola.c
auth.c
bind_addr.c [SCTP]: Fix local_addr deletions during list traversals. 2008-03-11 18:05:02 -07:00
chunk.c
command.c
debug.c
endpointola.c
input.c [SCTP]: fix misannotated __sctp_rcv_asconf_lookup() 2008-03-17 22:47:32 -07:00
inqueue.c
ipv6.c [SCTP]: IPv4 vs IPv6 addresses mess in sctp_inet[6]addr_event. 2008-04-12 18:40:38 -07:00
objcnt.c
output.c
outqueue.c [SCTP]: Fix protocol violation when receiving an error lenght INIT-ACK 2008-04-12 18:39:34 -07:00
primitive.c
proc.c
protocol.c [SCTP]: IPv4 vs IPv6 addresses mess in sctp_inet[6]addr_event. 2008-04-12 18:40:38 -07:00
sm_make_chunk.c [SCTP]: Add check for hmac_algo parameter in sctp_verify_param() 2008-04-12 18:39:19 -07:00
sm_sideeffect.c [SCTP]: Fix protocol violation when receiving an error lenght INIT-ACK 2008-04-12 18:39:34 -07:00
sm_statefuns.c [SCTP]: Fix compiler warning about const qualifiers 2008-04-12 18:40:06 -07:00
sm_statetable.c
socket.c [SCTP]: Fix compiler warning about const qualifiers 2008-04-12 18:40:06 -07:00
ssnmap.c
sysctl.c
transport.c
tsnmap.c
ulpevent.c [SCTP]: Fix compiler warning about const qualifiers 2008-04-12 18:40:06 -07:00
ulpqueue.c