aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/can/usb/peak_usb/pcan_usb.c
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2015-01-19 12:15:24 +0100
committerGravatar David S. Miller <davem@davemloft.net> 2015-01-19 16:20:17 -0500
commit926e9878a360fc57112259949c44c74c31709cc6 (patch)
tree156970a8248c5512200df2718c242bb3535d74ef /drivers/net/can/usb/peak_usb/pcan_usb.c
parentARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address (diff)
downloadlinux-926e9878a360fc57112259949c44c74c31709cc6.tar.gz
linux-926e9878a360fc57112259949c44c74c31709cc6.tar.bz2
linux-926e9878a360fc57112259949c44c74c31709cc6.zip
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>
Diffstat (limited to 'drivers/net/can/usb/peak_usb/pcan_usb.c')
0 files changed, 0 insertions, 0 deletions