]> Pileus Git - ~andy/linux/commit
net: sctp: sctp_ulpq: remove 'malloced' struct member
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 16 Apr 2013 11:07:17 +0000 (11:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/ulpqueue.h
net/sctp/ulpqueue.c