]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tipc: convert legacy nl link stat to nl compat
authorRichard Alpe <richard.alpe@ericsson.com>
Mon, 9 Feb 2015 08:50:06 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2015 21:20:47 +0000 (13:20 -0800)
commitf2b3b2d4ccbf9666f5f42a21347cd1aaa532b2fa
tree36a8eea16c58cd54f91ced3862da77803b223dcf
parent9ab154658a7ff2c5076607e02f18581c6859fc2a
tipc: convert legacy nl link stat to nl compat

Add functionality for safely appending string data to a TLV without
keeping write count in the caller.

Convert TIPC_CMD_SHOW_LINK_STATS to compat dumpit.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc_config.h
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/config.c
net/tipc/link.c
net/tipc/link.h
net/tipc/netlink_compat.c