commit | e15e067d0656625c77c52b4e5f0cfbf0c0c3583f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Nov 10 19:32:23 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 10 19:32:23 2018 -0800 |
tree | d06dda58359ade7f684f10eb696a99ff56126cda | |
parent | 348bbc25c40844c5efa083a3842c7f53d70a815e [diff] |
sctp: Fix SKB list traversal in sctp_intl_store_ordered(). Same change as made to sctp_intl_store_reasm(). To be fully correct, an iterator has an undefined value when something like skb_queue_walk() naturally terminates. This will actually matter when SKB queues are converted over to list_head. Formalize what this code ends up doing with the current implementation. Signed-off-by: David S. Miller <davem@davemloft.net>