diff options
| author | 2011-12-30 12:07:47 +0200 | |
|---|---|---|
| committer | 2012-01-03 01:38:37 -0200 | |
| commit | c5993de864d96b3656e9fca38c377b130105d97a (patch) | |
| tree | e44d03d2348a89b6bebad1cca98a06006b1ccfaa /lib/mpi/mpi-inline.c | |
| parent | Bluetooth: Keep chan->state and sk->sk_state in sync (diff) | |
| download | wireguard-linux-c5993de864d96b3656e9fca38c377b130105d97a.tar.xz wireguard-linux-c5993de864d96b3656e9fca38c377b130105d97a.zip | |
Bluetooth: Correct packet len calculation
Remove unneeded skb_pull and correct packet length calculation
removing magic number. Move BT_DBG after len check otherwise
it could possibly access wrong memory.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
