projects
/
kernel
/
linux-3.0.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen 2.3.1 release
[kernel/linux-3.0.git]
/
net
/
dccp
/
ccids
/
ccid3.c
diff --git
a/net/dccp/ccids/ccid3.c
b/net/dccp/ccids/ccid3.c
index
3d604e1
..
4caf63f
100644
(file)
--- a/
net/dccp/ccids/ccid3.c
+++ b/
net/dccp/ccids/ccid3.c
@@
-532,6
+532,7
@@
static int ccid3_hc_tx_getsockopt(struct sock *sk, const int optname, int len,
case DCCP_SOCKOPT_CCID_TX_INFO:
if (len < sizeof(tfrc))
return -EINVAL;
+ memset(&tfrc, 0, sizeof(tfrc));
tfrc.tfrctx_x = hc->tx_x;
tfrc.tfrctx_x_recv = hc->tx_x_recv;
tfrc.tfrctx_x_calc = hc->tx_x_calc;