aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2014-11-28 14:08:48 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-12-06 19:11:18 +0100
commitdc50ddcd4c58a5a0226038307d6ef884bec9f8c2 (patch)
tree167b64ab65c8d20e118a2d6a11bc95ccd507c7cd /net/ipv4/tcp_output.c
parentf2a01517f2a1040a0b156f171a7cefd748f2fd03 (diff)
downloadkernel_replicant_linux-dc50ddcd4c58a5a0226038307d6ef884bec9f8c2.tar.gz
kernel_replicant_linux-dc50ddcd4c58a5a0226038307d6ef884bec9f8c2.tar.bz2
kernel_replicant_linux-dc50ddcd4c58a5a0226038307d6ef884bec9f8c2.zip
can: peak_usb: fix memset() usage
This patchs fixes a misplaced call to memset() that fills the request buffer with 0. The problem was with sending PCAN_USBPRO_REQ_FCT requests, the content set by the caller was thus lost. With this patch, the memory area is zeroed only when requesting info from the device. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions