aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index 3274ef625dba..d6b26862b34e 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -3255,6 +3255,8 @@ static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk)
3255 peer_port = tsk_peer_port(tsk); 3255 peer_port = tsk_peer_port(tsk);
3256 3256
3257 nest = nla_nest_start(skb, TIPC_NLA_SOCK_CON); 3257 nest = nla_nest_start(skb, TIPC_NLA_SOCK_CON);
3258 if (!nest)
3259 return -EMSGSIZE;
3258 3260
3259 if (nla_put_u32(skb, TIPC_NLA_CON_NODE, peer_node)) 3261 if (nla_put_u32(skb, TIPC_NLA_CON_NODE, peer_node))
3260 goto msg_full; 3262 goto msg_full;