.. | .. |
---|
542 | 542 | update = true; |
---|
543 | 543 | deliver = false; |
---|
544 | 544 | } |
---|
545 | | - /* Fall thru */ |
---|
| 545 | + fallthrough; |
---|
546 | 546 | case TIPC_GRP_BCAST_MSG: |
---|
547 | 547 | m->bc_rcv_nxt++; |
---|
548 | 548 | ack = msg_grp_bc_ack_req(hdr); |
---|
.. | .. |
---|
924 | 924 | |
---|
925 | 925 | int tipc_group_fill_sock_diag(struct tipc_group *grp, struct sk_buff *skb) |
---|
926 | 926 | { |
---|
927 | | - struct nlattr *group = nla_nest_start(skb, TIPC_NLA_SOCK_GROUP); |
---|
| 927 | + struct nlattr *group = nla_nest_start_noflag(skb, TIPC_NLA_SOCK_GROUP); |
---|
| 928 | + |
---|
| 929 | + if (!group) |
---|
| 930 | + return -EMSGSIZE; |
---|
928 | 931 | |
---|
929 | 932 | if (nla_put_u32(skb, TIPC_NLA_SOCK_GROUP_ID, |
---|
930 | 933 | grp->type) || |
---|