diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-02-23 17:19:41 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-06-05 21:17:16 +0100 |
commit | c67e72d44634dcaf8cda07833c417faa8e37b837 (patch) | |
tree | d8a777ca279e69248bfb1d5a59e0a45c806136ea /drivers/macintosh | |
parent | ebfe63171b30e2a1dd0d5075519949179b7ed019 (diff) | |
download | linux-stable-c67e72d44634dcaf8cda07833c417faa8e37b837.tar.gz linux-stable-c67e72d44634dcaf8cda07833c417faa8e37b837.tar.bz2 linux-stable-c67e72d44634dcaf8cda07833c417faa8e37b837.zip |
vxlan: correctly validate VXLAN ID against VXLAN_N_VID
commit 4e37d6911f36545b286d15073f6f2222f840e81c upstream.
The incorrect check caused an off-by-one error: the maximum VID 0xffffff
was unusable.
Fixes: d342894c5d2f ("vxlan: virtual extensible lan")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions