NET: llc, zero sockaddr_llc struct
commit42c6afea4b7a0512d2fd7c2b7fc6fa667366e315
authorJiri Slaby <jirislaby@gmail.com>
Mon, 24 Aug 2009 05:55:51 +0000 (23 22:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:41 +0000 (8 20:17 -0700)
treec7946fa65dcf7dc82a9aef5d5897d98481fe0f1e
parent3b9246e2b55f8aa3c3d9732d0eb7e9943a6f9492
NET: llc, zero sockaddr_llc struct

commit 28e9fc592cb8c7a43e4d3147b38be6032a0e81bc upstream.

sllc_arphrd member of sockaddr_llc might not be changed. Zero sllc
before copying to the above layer's structure.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/llc/af_llc.c