]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NET: llc, zero sockaddr_llc struct
authorJiri Slaby <jirislaby@gmail.com>
Mon, 24 Aug 2009 05:55:51 +0000 (22:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:34:11 +0000 (20:34 -0700)
commit94a92d5f9ece6fb4bb9e23114413c5f1dcf305ef
tree1a11657817cdef98542829ed139042c54db96169
parent6966703e42de2262a11cbada59645820045ea186
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