From: Mathias Krause Date: Mon, 30 Sep 2013 20:03:08 +0000 (+0200) Subject: connector: use 'size' everywhere in cn_netlink_send() X-Git-Tag: v3.12-rc7~20^2~83^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac73bf50b709dea4e39635151b861b8a8f52bfbb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed