diff options
| author | Alexis Dambricourt | 2016-01-05 00:26:07 +0100 |
|---|---|---|
| committer | Jason Wang | 2016-01-11 04:01:35 +0100 |
| commit | 3be9b3528debd985b7a84ace0626cacf5ffe5ec4 (patch) | |
| tree | a8f82a0cb4e2288623f664c7cb63300d1965e52c /include/net | |
| parent | net: ne2000: fix bounds check in ioport operations (diff) | |
| download | qemu-3be9b3528debd985b7a84ace0626cacf5ffe5ec4.tar.gz qemu-3be9b3528debd985b7a84ace0626cacf5ffe5ec4.tar.xz qemu-3be9b3528debd985b7a84ace0626cacf5ffe5ec4.zip | |
l2tpv3: fix cookie decoding
If a 32 bits l2tpv3 frame cookie MSB if set to 1, the cast to uint64_t
cookie will spread 1 to the four most significant bytes.
Then the condition (cookie != s->rx_cookie) becomes false.
Signed-off-by: Alexis Dambricourt <alexis.dambricourt@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
