diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-04-21 14:27:28 +0530 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-04-21 14:27:28 +0530 |
commit | 01b53987d3587d026fcfc0f0486fed24e8737feb (patch) | |
tree | 86d8e01ec2dad15500e52fae15d26b19c086710a /src/daemon | |
parent | d47ac40b87f246f2f1badbf25d8e814614296051 (diff) | |
parent | 8d8a747b161508ebfd48a6dac52f1438e2714a2b (diff) | |
download | libcg-01b53987d3587d026fcfc0f0486fed24e8737feb.tar.gz libcg-01b53987d3587d026fcfc0f0486fed24e8737feb.tar.xz libcg-01b53987d3587d026fcfc0f0486fed24e8737feb.zip |
Merge branch 'master' of ssh://balbir_singh@libcg.git.sourceforge.net/gitroot/libcg
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/cgrulesengd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/cgrulesengd.c b/src/daemon/cgrulesengd.c index 8efdce1..4e00e18 100644 --- a/src/daemon/cgrulesengd.c +++ b/src/daemon/cgrulesengd.c @@ -386,8 +386,10 @@ int cgre_create_netlink_socket_process_msg() continue; while (NLMSG_OK(nlh, recv_len)) { cn_hdr = NLMSG_DATA(nlh); - if (nlh->nlmsg_type == NLMSG_NOOP) + if (nlh->nlmsg_type == NLMSG_NOOP) { + nlh = NLMSG_NEXT(nlh, recv_len); continue; + } if ((nlh->nlmsg_type == NLMSG_ERROR) || (nlh->nlmsg_type == NLMSG_OVERRUN)) break; |