]> git.hungrycats.org Git - linux/commit
[SCTP] Fix a couple of issues with the call to sctp_ssnmap_new() in
authorSridhar Samudrala <sri@us.ibm.com>
Wed, 3 Sep 2003 02:47:52 +0000 (19:47 -0700)
committerSridhar Samudrala <sri@us.ibm.com>
Wed, 3 Sep 2003 02:47:52 +0000 (19:47 -0700)
commitaca9dc238f1b5598595f93307a0ec220bb11a32b
tree8085f9fc9da0bf804b33a092b8a1918d5ca453b5
parent54eca890d496686c5fcf5e09659d581a49040e93
[SCTP] Fix a couple of issues with the call to sctp_ssnmap_new() in
sctp_process_init().

The argument passed as inbound streams to sctp_ssnmap_new() is
incorrect. Also allocating a ssnmap everytime a INIT is received is
vulnerable to DoS attacks. So delay the creation of an ssnmap if we
are processing a temporary association.
net/sctp/sm_make_chunk.c
net/sctp/socket.c