kernel-fxtec-pro1x/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 sctp: Clean up sctp checksumming code 2009-02-16 00:03:10 -08:00
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 sctp: be more restrictive in transport selection on bundled sacks 2012-06-30 22:44:35 -07:00
ulpevent.h sctp: ABORT if receive, reassmbly, or reodering queue is not empty while closing socket 2011-07-08 09:53:08 -07:00
ulpqueue.h sctp: Clean up type-punning in sctp_cmd_t union 2012-11-03 14:54:55 -04:00