diff options
author | Mathias Krause | 2013-09-30 22:03:08 +0200 |
---|---|---|
committer | David S. Miller | 2013-10-02 22:03:50 +0200 |
commit | ac73bf50b709dea4e39635151b861b8a8f52bfbb (patch) | |
tree | f63b489a95edfd71781772370511fe16bb398fb0 /Documentation/connector/ucon.c | |
parent | connector: use nlmsg_len() to check message length (diff) | |
download | kernel-qcow2-linux-ac73bf50b709dea4e39635151b861b8a8f52bfbb.tar.gz kernel-qcow2-linux-ac73bf50b709dea4e39635151b861b8a8f52bfbb.tar.xz kernel-qcow2-linux-ac73bf50b709dea4e39635151b861b8a8f52bfbb.zip |
connector: use 'size' everywhere in cn_netlink_send()
We calculated the size for the netlink message buffer as size. Use size
in the memcpy() call as well instead of recalculating it.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/connector/ucon.c')
0 files changed, 0 insertions, 0 deletions