mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
50181c07cb
commit
c1db7a26ac
2 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue