aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-09-08 03:27:31 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-09-08 03:27:31 -0400
commite7a963ef20cabde53d0e609737764ddc65f4605a (patch)
treed2bf292f2dde9c6ee213d401abbbdc63fb3afa75 /net/llc
parenta2494b9b5fb702becaf8d8e3138f7a1a0d3c537e (diff)
parent3ff323f89075624b6891e7c428edb8e8a35be13c (diff)
Merge branches 'sh/smp' and 'sh/stable-updates'
Diffstat (limited to 'net/llc')
-rw-r--r--net/llc/af_llc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index 9208cf5f2bd5..c45eee1c0e8d 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -914,6 +914,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr,
914 struct llc_sock *llc = llc_sk(sk); 914 struct llc_sock *llc = llc_sk(sk);
915 int rc = 0; 915 int rc = 0;
916 916
917 memset(&sllc, 0, sizeof(sllc));
917 lock_sock(sk); 918 lock_sock(sk);
918 if (sock_flag(sk, SOCK_ZAPPED)) 919 if (sock_flag(sk, SOCK_ZAPPED))
919 goto out; 920 goto out;