aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r--net/tipc/link.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index 3e513daecf80..e31d92f80572 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -1962,8 +1962,10 @@ int tipc_nl_add_bc_link(struct net *net, struct tipc_nl_msg *msg)
1962 1962
1963 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, 1963 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family,
1964 NLM_F_MULTI, TIPC_NL_LINK_GET); 1964 NLM_F_MULTI, TIPC_NL_LINK_GET);
1965 if (!hdr) 1965 if (!hdr) {
1966 tipc_bcast_unlock(net);
1966 return -EMSGSIZE; 1967 return -EMSGSIZE;
1968 }
1967 1969
1968 attrs = nla_nest_start(msg->skb, TIPC_NLA_LINK); 1970 attrs = nla_nest_start(msg->skb, TIPC_NLA_LINK);
1969 if (!attrs) 1971 if (!attrs)