summaryrefslogtreecommitdiffstats
path: root/Documentation/connector/ucon.c
diff options
context:
space:
mode:
authorMathias Krause2013-09-30 22:03:08 +0200
committerDavid S. Miller2013-10-02 22:03:50 +0200
commitac73bf50b709dea4e39635151b861b8a8f52bfbb (patch)
treef63b489a95edfd71781772370511fe16bb398fb0 /Documentation/connector/ucon.c
parentconnector: use nlmsg_len() to check message length (diff)
downloadkernel-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