]> 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)
commit06ea63295429829fd05ab62349eee08d1529ecf8
tree23ae96d0b284a5676aa826e23c338a6292642d01
parent47c7dbc0e9934c1a66a40486b65d555462afa405
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