From: Johannes Berg Date: Mon, 19 Jan 2015 11:15:24 +0000 (+0100) Subject: phonet netlink: allow multiple messages per skb in route dump X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926e9878a360fc57112259949c44c74c31709cc6;p=pandora-kernel.git phonet netlink: allow multiple messages per skb in route dump My previous patch to this file changed the code to be bug-compatible towards userspace. Unless userspace (which I wasn't able to find) implements the dump reader by hand in a wrong way, this isn't needed. If it uses libnl or similar code putting multiple messages into a single SKB is far more efficient. Change the code to do this. While at it, also clean it up and don't use so many variables - just store the address in the callback args directly. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed