]> Git Repo - linux.git/commit
net: sctp: sctp_ulpq: remove 'malloced' struct member
authorDaniel Borkmann <[email protected]>
Tue, 16 Apr 2013 11:07:17 +0000 (11:07 +0000)
committerDavid S. Miller <[email protected]>
Wed, 17 Apr 2013 18:13:02 +0000 (14:13 -0400)
commitc1db7a26ac3f7223a38eaeb46a77d0cf9e6a0d8f
tree458dceabab609cc738af0b5f58227806eff47288
parent50181c07cbde370986c4925b830ca291a2fc31ab
net: sctp: sctp_ulpq: remove 'malloced' struct member

The structure sctp_ulpq is embedded into sctp_association and never
separately allocated, also ulpq->malloced is always 0, so that
kfree() is never called. Therefore, remove this code.

Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/sctp/ulpqueue.h
net/sctp/ulpqueue.c
This page took 0.044851 seconds and 4 git commands to generate.