[SCTP]: Verify all destination ports in sctp_connectx.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 4 May 2007 20:34:09 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 May 2007 20:34:09 +0000 (13:34 -0700)
commit16d00fb7765a43a1b05989062e985d283b3a1f2d
tree8395f341ee34c1bb57433253eb6b722b5644665c
parent5a6d34162f5c6f522f857df274f1c8240f161e11
[SCTP]: Verify all destination ports in sctp_connectx.

We need to make sure that all destination ports are the same, since
the association really must not connect to multiple different ports
at once.  This was reported on the sctp-impl list.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c