mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
sctp: Use skb_queue_is_first().
Instead of direct skb_queue_head pointer accesses. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e42a43a5ca
commit
1181d629cc
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ static struct sctp_ulpevent *sctp_ulpq_retrieve_reassembled(struct sctp_ulpq *ul
|
|||
* element in the queue, then count it towards
|
||||
* possible PD.
|
||||
*/
|
||||
if (pos == ulpq->reasm.next) {
|
||||
if (skb_queue_is_first(&ulpq->reasm, pos)) {
|
||||
pd_first = pos;
|
||||
pd_last = pos;
|
||||
pd_len = pos->len;
|
||||
|
|
Loading…
Reference in a new issue