commit | 947867aa195b65471f4767fdf761e3841577f90e | [log] [tgz] |
---|---|---|
author | Dominique Martinet <dominique.martinet@cea.fr> | Thu Sep 03 11:28:20 2015 +0200 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Sat Nov 14 08:12:41 2015 -0600 |
tree | 3bcccc5dc06567d244b9ebad61ae54461e007317 | |
parent | c7c72c5a127507687c737ede0f97d85bde674433 [diff] |
9p: trans_fd, read rework to use p9_parse_header Most of the changes here are no-op and just renaming to use a fcall struct, needed for p9_parse_header It fixes the unaligned memory access to read the tag and defers to common functions for part of the protocol knowledge (although header length is still hard-coded...) Reported-By: Rob Landley <rob@landley.net> Signed-Off-By: Dominique Martinet <dominique.martinet@cea.fr> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>