diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2011-03-15 14:55:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-15 14:55:49 -0700 |
commit | 638be344593b66ccca6802c6076a5b3d9200829d (patch) | |
tree | 41a285f44792037362bc4efaf938b73999b76bd1 /net/econet/af_econet.c | |
parent | bfd823bd74333615783d8108889814c6d82f2ab0 (diff) | |
download | kernel_goldelico_gta04-638be344593b66ccca6802c6076a5b3d9200829d.zip kernel_goldelico_gta04-638be344593b66ccca6802c6076a5b3d9200829d.tar.gz kernel_goldelico_gta04-638be344593b66ccca6802c6076a5b3d9200829d.tar.bz2 |
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>
Diffstat (limited to 'net/econet/af_econet.c')
0 files changed, 0 insertions, 0 deletions