Commit ff0753c6 authored by Jon Grimm's avatar Jon Grimm Committed by Linus Torvalds

o hlist change on sctp not quite right.

parent dec22cdc
......@@ -3328,7 +3328,7 @@ static struct sctp_bind_bucket *sctp_bucket_create(
/* Caller must hold hashbucket lock for this tb with local BH disabled */
static void sctp_bucket_destroy(struct sctp_bind_bucket *pp)
{
if (!hlist_empty(&pp->sk_list)) {
if (hlist_empty(&pp->sk_list)) {
if (pp->next)
pp->next->pprev = pp->pprev;
*(pp->pprev) = pp->next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment