]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit707888146bbc85db70e9913dbee5b8f221f8f8b8
tree23ae96d0b284a5676aa826e23c338a6292642d01
parent5ec834d9e145e89f5ed2346b9cd1af74624f9982
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