]> git.baikalelectronics.ru Git - kernel.git/commit
net: drop write-only stack variable
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 2 Feb 2016 17:17:54 +0000 (18:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:06:26 +0000 (14:06 -0500)
commit1e2550fbc9ab00dde60c7ca188f33f89fd252ad3
tree8dac5377390bc6c58d30abf40b2eeb51573549a5
parentbcc98e292c89c7571a12c4f2148f49ddd68bc178
net: drop write-only stack variable

Remove a write-only stack variable from unix_attach_fds(). This is a
left-over from the security fix in:

    commit f625c8daa0d6e4e2220a9795d4adb5c7e2fccc2a
    Author: willy tarreau <w@1wt.eu>
    Date:   Sun Jan 10 07:54:56 2016 +0100

        unix: properly account for FDs passed over unix sockets

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c