tmp_suning_uos_patched/net/phonet
Johannes Berg 926e9878a3 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 <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-19 16:20:17 -05:00
..
af_phonet.c net: Convert LIMIT_NETDEBUG to net_dbg_ratelimited 2014-11-11 14:10:31 -05:00
datagram.c new helper: memcpy_from_msg() 2014-11-24 04:28:48 -05:00
Kconfig Phonet: kill the ST-Ericsson pipe controller Kconfig 2011-03-09 11:59:33 -08:00
Makefile
pep-gprs.c net: Convert LIMIT_NETDEBUG to net_dbg_ratelimited 2014-11-11 14:10:31 -05:00
pep.c new helper: memcpy_from_msg() 2014-11-24 04:28:48 -05:00
pn_dev.c net: fix rcu access on phonet_routes 2014-10-06 18:16:30 -04:00
pn_netlink.c phonet netlink: allow multiple messages per skb in route dump 2015-01-19 16:20:17 -05:00
socket.c seq_file: remove "%n" usage from seq_file users 2013-11-15 09:32:20 +09:00
sysctl.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00