summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSoenke Huster <soenke.huster@eknoes.de>2022-10-12 09:45:06 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-11-02 14:15:42 -0700
commit160fbcf3bfb93c3c086427f9f4c8bc70f217e9be (patch)
tree4c7f8948f9428e5bdc63acfaf5b3d0acf5b232e9 /net
parentb36a234dc438cb6b76fc929a8df9a0e59c8acf23 (diff)
downloadlinux-stable-160fbcf3bfb93c3c086427f9f4c8bc70f217e9be.tar.gz
linux-stable-160fbcf3bfb93c3c086427f9f4c8bc70f217e9be.tar.bz2
linux-stable-160fbcf3bfb93c3c086427f9f4c8bc70f217e9be.zip
Bluetooth: virtio_bt: Use skb_put to set length
By using skb_put we ensure that skb->tail is set correctly. Currently, skb->tail is always zero, which leads to errors, such as the following page fault in rfcomm_recv_frame: BUG: unable to handle page fault for address: ffffed1021de29ff #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page RIP: 0010:rfcomm_run+0x831/0x4040 (net/bluetooth/rfcomm/core.c:1751) Fixes: afd2daa26c7a ("Bluetooth: Add support for virtio transport driver") Signed-off-by: Soenke Huster <soenke.huster@eknoes.de> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions