unix_diag: Fix incoming connections nla length
authorPavel Emelyanov <xemul@parallels.com>
Mon, 26 Dec 2011 19:08:47 +0000 (14:08 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Dec 2011 19:08:47 +0000 (14:08 -0500)
commit3b0723c12e825e26aa5fc0c6970108425824b51d
tree23ae96d0b284a5676aa826e23c338a6292642d01
parentc5e1fd8ccae09f574d6f978c90c2b968ee29030c
unix_diag: Fix incoming connections nla length

The NLA_PUT macro should accept the actual attribute length, not
the amount of elements in array :(

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/diag.c