sctp: sctp_sendmsg: Don't initialize default_sinfo
authorJoe Perches <joe@perches.com>
Thu, 12 May 2011 11:27:20 +0000 (11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 21:30:49 +0000 (17:30 -0400)
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>

No differences found