diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-03-29 19:00:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-30 20:08:47 +0200 |
commit | 3dbcc105d5561e18ccd0842c7baab1c835562a37 (patch) | |
tree | a4612311dc9f7acaeb1a7130c56f4e63323305f8 /drivers/net/ethernet/emulex/benet | |
parent | net/packet: fix overflow in check for tp_reserve (diff) | |
download | linux-3dbcc105d5561e18ccd0842c7baab1c835562a37.tar.xz linux-3dbcc105d5561e18ccd0842c7baab1c835562a37.zip |
sctp: alloc stream info when initializing asoc
When sending a msg without asoc established, sctp will send INIT packet
first and then enqueue chunks.
Before receiving INIT_ACK, stream info is not yet alloced. But enqueuing
chunks needs to access stream info, like out stream state and out stream
cnt.
This patch is to fix it by allocing out stream info when initializing an
asoc, allocing in stream and re-allocing out stream when processing init.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet')
0 files changed, 0 insertions, 0 deletions