alistair23-linux/include/net/sctp
Daniel Borkmann ff2266cddd net: sctp: remove sctp_ep_common struct member 'malloced'
There is actually no need to keep this member in the structure, because
after init it's always 1 anyway, thus always kfree called. This seems to
be an ancient leftover from the very initial implementation from 2.5
times. Only in case the initialization of an association fails, we leave
base.malloced as 0, but we nevertheless kfree it in the error path in
sctp_association_new().

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-15 14:11:37 -04:00
..
auth.h
checksum.h
command.h sctp: Clean up type-punning in sctp_cmd_t union 2012-11-03 14:54:55 -04:00
constants.h net: sctp: introduce uapi header for sctp 2013-04-09 13:19:39 -04:00
sctp.h hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
sm.h sctp: send abort chunk when max_retrans exceeded 2012-11-20 15:50:37 -05:00
structs.h net: sctp: remove sctp_ep_common struct member 'malloced' 2013-04-15 14:11:37 -04:00
tsnmap.h
ulpevent.h
ulpqueue.h sctp: Clean up type-punning in sctp_cmd_t union 2012-11-03 14:54:55 -04:00