aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2021-11-15 10:49:22 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-15 14:11:24 +0000
commit84a107e68b34217eff536e81a6a6f419ee0d0f7e (patch)
tree3beaf1ebf78e6a4330445b81b4dba7b78dc8b453 /net/core/sock.c
parenti2c: core: Allow 255 byte transfers for SMBus 3.x (diff)
downloadwireguard-linux-84a107e68b34217eff536e81a6a6f419ee0d0f7e.tar.xz
wireguard-linux-84a107e68b34217eff536e81a6a6f419ee0d0f7e.zip
i2c: dev: Handle 255 byte blocks for i2c ioctl
I2C_SMBUS is limited to 32 bytes due to compatibility with the 32 byte i2c_smbus_data.block I2C_RDWR allows larger transfers if sufficient sized buffers are passed. Signed-off-by: Matt Johnston <matt@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions