Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369272
b: refs/heads/master
c: c1db7a2
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed Apr 17, 2013
1 parent ac3f9e0 commit cd00f71
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 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: 50181c07cbde370986c4925b830ca291a2fc31ab
refs/heads/master: c1db7a26ac3f7223a38eaeb46a77d0cf9e6a0d8f
1 change: 0 additions & 1 deletion trunk/include/net/sctp/ulpqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

/* A structure to carry information to the ULP (e.g. Sockets API) */
struct sctp_ulpq {
char malloced;
char pd_mode;
struct sctp_association *asoc;
struct sk_buff_head reasm;
Expand Down
3 changes: 0 additions & 3 deletions trunk/net/sctp/ulpqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ struct sctp_ulpq *sctp_ulpq_init(struct sctp_ulpq *ulpq,
skb_queue_head_init(&ulpq->reasm);
skb_queue_head_init(&ulpq->lobby);
ulpq->pd_mode = 0;
ulpq->malloced = 0;

return ulpq;
}
Expand Down Expand Up @@ -96,8 +95,6 @@ void sctp_ulpq_flush(struct sctp_ulpq *ulpq)
void sctp_ulpq_free(struct sctp_ulpq *ulpq)
{
sctp_ulpq_flush(ulpq);
if (ulpq->malloced)
kfree(ulpq);
}

/* Process an incoming DATA chunk. */
Expand Down

0 comments on commit cd00f71

Please sign in to comment.