tipc: add broadcast link window set/get to nl api
authorRichard Alpe <richard.alpe@ericsson.com>
Wed, 6 May 2015 11:58:55 +0000 (13:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:40:02 +0000 (16:40 -0400)
commit670f4f8818ee54d0c1831e3165dadd5b8a3f713e
tree61d37ad05026b8302cc2a286a4d9ce93ab641f82
parentc3d6fb85b2ed6a57b57b322a470b3b4eefb34fb7
tipc: add broadcast link window set/get to nl api

Add the ability to get or set the broadcast link window through the
new netlink API. The functionality was unintentionally missing from
the new netlink API. Adding this means that we also fix the breakage
in the old API when coming through the compat layer.

Fixes: 37e2d4843f9e (tipc: convert legacy nl link prop set to nl compat)
Reported-by: Tomi Ollila <tomi.ollila@iki.fi>
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/link.c