commit | 517aa0bcda9b092a4c3fab7bf93f0cebe372ece0 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu May 12 11:27:20 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 12 17:30:49 2011 -0400 |
tree | 28edc7ce3bd99465ae0eca4294ebd98dd4bbdb25 | |
parent | 1769192a3c50778e03352a3d95faec830d47ba55 [diff] |
sctp: sctp_sendmsg: Don't initialize default_sinfo This variable only needs initialization when cmsgs.info is NULL. Use memset to ensure padding is also zeroed so kernel doesn't leak any data. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>