diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2011-05-22 13:18:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-23 02:11:49 +0200 |
commit | 69c867c90c7fe0773d9aa4e8bbf777f574be13d2 (patch) | |
tree | b67c6269246eb32f6826d590ed6067c5ab87e9a2 /lib/gen_crc32table.c | |
parent | caif: Update documentation of CAIF transmit and receive functions. (diff) | |
download | linux-69c867c90c7fe0773d9aa4e8bbf777f574be13d2.tar.xz linux-69c867c90c7fe0773d9aa4e8bbf777f574be13d2.zip |
caif: Plug memory leak for checksum error
In case of checksum error, the framing layer returns -EILSEQ, but
does not free the packet. Plug this hole by freeing the packet if
-EILSEQ is returned.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions