summaryrefslogtreecommitdiffstats
path: root/net/econet/af_econet.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-23 11:04:07 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-08-23 11:04:07 +0200
commitc3144fc46f987413df10e83659f0bf1aad76f79e (patch)
treea09f3c13c32664a617d3981ae111436c3127ccc3 /net/econet/af_econet.c
parentsh: unwinder: cacheline align slab cache objects. (diff)
parentsh: drop static UIO clocks for sh7722, sh7723 and sh7724 (diff)
downloadlinux-c3144fc46f987413df10e83659f0bf1aad76f79e.tar.xz
linux-c3144fc46f987413df10e83659f0bf1aad76f79e.zip
Merge branches 'sh/hwblk' and 'sh/pm-runtime'
Diffstat (limited to 'net/econet/af_econet.c')
-rw-r--r--net/econet/af_econet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c
index 2e1f836d4240..f0bbc57926cd 100644
--- a/net/econet/af_econet.c
+++ b/net/econet/af_econet.c
@@ -520,6 +520,7 @@ static int econet_getname(struct socket *sock, struct sockaddr *uaddr,
if (peer)
return -EOPNOTSUPP;
+ memset(sec, 0, sizeof(*sec));
mutex_lock(&econet_mutex);
sk = sock->sk;