]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_rc
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 11 Jan 2015 23:18:20 +0000 (15:18 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 12 Jan 2015 09:24:21 +0000 (11:24 +0200)
commit64cfdb0acf88dbf3f18ed3c423399d843f0afe58
treef9b0725273c2ff9cd3a3e44abdc5b26a1af77734
parent42418db7a8aafbd3e0875bb3d27abe109f87fc75
Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_rc

This adds an extra check for ensuring that the size of sockaddr_rc
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/rfcomm/sock.c