diff options
| author | Hoan Tran <[email protected]> | 2016-10-10 17:13:10 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2016-10-25 09:50:52 +0000 |
| commit | 603616017c35f4d0fbdbcace72adf9bf949c4a65 (patch) | |
| tree | ada121761e6a90165f86d2578087750e2afea7ac /net/switchdev/switchdev.c | |
| parent | i2c: digicolor: Fix module autoload (diff) | |
| download | kernel-603616017c35f4d0fbdbcace72adf9bf949c4a65.tar.gz kernel-603616017c35f4d0fbdbcace72adf9bf949c4a65.zip | |
i2c: xgene: Avoid dma_buffer overrun
SMBus block command uses the first byte of buffer for the data length.
The dma_buffer should be increased by 1 to avoid the overrun issue.
Reported-by: Phil Endecott <[email protected]>
Signed-off-by: Hoan Tran <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
