android_kernel_xiaomi_sm8350/net/phonet
Rémi Denis-Courmont 638be34459 Phonet: fix aligned-mode pipe socket buffer header reserve
When the pipe uses aligned-mode data packets, we must reserve 4 bytes
instead of 3 for the pipe protocol header. Otherwise the Phonet header
would not be aligned, resulting in potentially corrupted headers with
later unaligned memory writes.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-15 14:55:49 -07:00
..
af_phonet.c Phonet: return an error when packet TX fails 2011-03-09 11:59:30 -08:00
datagram.c Phonet: hook resource routing to userspace via ioctl()'s 2010-09-15 21:31:32 -07:00
Kconfig Phonet: kill the ST-Ericsson pipe controller Kconfig 2011-03-09 11:59:33 -08:00
Makefile Net: phonet: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:14 -08:00
pep-gprs.c
pep.c Phonet: fix aligned-mode pipe socket buffer header reserve 2011-03-15 14:55:49 -07:00
pn_dev.c Phonet: list subscribed resources via proc_fs 2010-09-15 21:31:33 -07:00
pn_netlink.c
socket.c Phonet: support active connection without pipe controller on modem 2011-03-09 11:59:33 -08:00
sysctl.c