summaryrefslogtreecommitdiffstats
path: root/kernel/power/hibernate.c
diff options
context:
space:
mode:
authorStefan Sørensen <stefan.sorensen@spectralink.com>2015-11-03 09:34:04 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-03 11:08:21 -0500
commit539e44d26855fdd198280ee41360a0b3adcf699b (patch)
treef19f62f00e4df0eedba65f8eef3ab8a716c6e62f /kernel/power/hibernate.c
parent0561e8e8786203f1b82322550e5c31aeef033d2f (diff)
downloadlinux-539e44d26855fdd198280ee41360a0b3adcf699b.tar.bz2
dp83640: Include hash in timestamp/packet matching
Only using the message type and sequence id for matching timestamps with packets is error prone, as multiple clients may very well be sending packets with the same messagetype and timestamp at the same time. Fix by extending the check to include the hash of bytes 20-29 (source id in PTPv2) that is provided with the timestamps. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions