[TIPC]: Enhanced & cleaned up system messages; fixed 2 obscure memory leaks.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Per Liden <per.liden@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f131072c3d
commit
a10bd924a4
@@ -642,7 +642,7 @@ static void cfg_named_msg_event(void *userdata,
|
||||
if ((size < sizeof(*req_hdr)) ||
|
||||
(size != TCM_ALIGN(ntohl(req_hdr->tcm_len))) ||
|
||||
(ntohs(req_hdr->tcm_flags) != TCM_F_REQUEST)) {
|
||||
warn("discarded invalid configuration message\n");
|
||||
warn("Invalid configuration message discarded\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user