Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369267
b: refs/heads/master
c: ee16371
h: refs/heads/master
i:
  369265: 9d344f0
  369263: b39a1e4
v: v3
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed Apr 17, 2013
1 parent 26c6520 commit 28dc67f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 542c2d832087aa78566be49aa4284779a0a687b3
refs/heads/master: ee16371e6c737684215ee10b4b9756b610d81272
2 changes: 0 additions & 2 deletions trunk/include/net/sctp/structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -991,8 +991,6 @@ struct sctp_inq {
* messages.
*/
struct work_struct immediate;

int malloced; /* Is this structure kfree()able? */
};

void sctp_inq_init(struct sctp_inq *);
Expand Down
7 changes: 0 additions & 7 deletions trunk/net/sctp/inqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ void sctp_inq_init(struct sctp_inq *queue)

/* Create a task for delivering data. */
INIT_WORK(&queue->immediate, NULL);

queue->malloced = 0;
}

/* Release the memory associated with an SCTP inqueue. */
Expand All @@ -80,11 +78,6 @@ void sctp_inq_free(struct sctp_inq *queue)
sctp_chunk_free(queue->in_progress);
queue->in_progress = NULL;
}

if (queue->malloced) {
/* Dump the master memory segment. */
kfree(queue);
}
}

/* Put a new packet in an SCTP inqueue.
Expand Down

0 comments on commit 28dc67f

Please sign in to comment.