When less bytes than the header size is read, do not indicate to the caller
that the read was successful, as the caller would read uninitialized memory.
To achieve that, subtract the header size unconditionally (unless an error
was returned by sk_receive).
In addition, do not check for Ethernet ty
On Thu, Apr 10, 2014 at 11:37:22AM +0200, Jiri Benc wrote:
> When less bytes than the header size is read, do not indicate to the caller
> that the read was successful, as the caller would read uninitialized memory.
> To achieve that, subtract the header size unconditionally (unless an error
> was
Dear Richard,
my linux kernel is 3.0, and my phy is DP83640, and my mac is stmmac,
and my cpu is arm, i just cross-compile the linuxptp, and it seems ok, but
when i run it and use hardware timestamp (./ptp4l - H -i eth0 -p
/dev/ptp0) on my system, the kernel crashed.
so, i just see linu
Arnold,
Can you please post this question once again, but not as a reply to a
different thread?
Also, no top-posting please.
Thanks,
Richard
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous In
Dear Richard,
thanks for your reply. as i asked ,my linux kernel is 3.0, and
my phy is DP83640, and my mac is stmmac, and my cpu is arm A9,
when i run it and use hardware timestamp (./ptp4l - H -i eth0 -p
/dev/ptp0) on my system, the kernel crashed. (crash log is appended in
belo