]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_sco
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 11 Jan 2015 23:21:06 +0000 (15:21 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 12 Jan 2015 09:24:24 +0000 (11:24 +0200)
commit15762fa772bf91687e2f2a6afc6df975ee2a6f70
tree4d6dc5104c246baa1b3c604f7021e66d25072be7
parent74b3fb8d0daf150eeb66665897601fb10c024687
Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_sco

This adds an extra check for ensuring that the size of sockaddr_sco
does not grow larger than sockaddr.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/sco.c