commit | 542c2d832087aa78566be49aa4284779a0a687b3 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Tue Apr 16 11:07:10 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 17 14:13:02 2013 -0400 |
tree | d364069534acbbaa42ed94003e170e853e0a3423 | |
parent | 92cf1f23cc9390ea5c00e8185c1f7910c3d15452 [diff] |
net: sctp: sctp_ssnmap: remove 'malloced' element from struct sctp_ssnmap_init() can only be called from sctp_ssnmap_new() where malloced is always set to 1. Thus, when we call sctp_ssnmap_free() the test for map->malloced evaluates always to true. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>