-
- Downloads
[SCTP]: Add RCU synchronization around sctp_localaddr_list
sctp_localaddr_list is modified dynamically via NETDEV_UP and NETDEV_DOWN events, but there is not synchronization between writer (even handler) and readers. As a result, the readers can access an entry that has been freed and crash the sytem. Signed-off-by:Vlad Yasevich <vladislav.yasevich@hp.com> Acked-by:
Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by:
Sridhar Samdurala <sri@us.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/sctp/sctp.h 1 addition, 0 deletionsinclude/net/sctp/sctp.h
- include/net/sctp/structs.h 6 additions, 0 deletionsinclude/net/sctp/structs.h
- net/sctp/bind_addr.c 2 additions, 0 deletionsnet/sctp/bind_addr.c
- net/sctp/ipv6.c 24 additions, 10 deletionsnet/sctp/ipv6.c
- net/sctp/protocol.c 39 additions, 15 deletionsnet/sctp/protocol.c
- net/sctp/socket.c 25 additions, 13 deletionsnet/sctp/socket.c
Loading
Please register or sign in to comment