]> git.baikalelectronics.ru Git - kernel.git/commit
af_unix: constify the sock parameter in unix_sk()
authorPaul Moore <pmoore@redhat.com>
Tue, 6 Oct 2015 19:03:53 +0000 (15:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:05:18 +0000 (04:05 -0700)
commitd5d651429794bdc870f91c8a9883fc254fefd506
treea6d2eb54513043620323a8a626084332a86c1990
parent74f31c6994d4a6cb626c729f549943a3fc4bb537
af_unix: constify the sock parameter in unix_sk()

Make unix_sk() just like inet[6]_sk() by constify'ing the sock
parameter.

Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h