diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-02-23 17:19:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-22 12:04:13 +0100 |
commit | 51a219a1371ed26ce45acc8209d6064257d00f70 (patch) | |
tree | 8e506652b280638157cfee584dfafb3fc53521f9 /net | |
parent | 0c0be310ba29e4a053e8aac934aebe590c5da909 (diff) |
vxlan: correctly validate VXLAN ID against VXLAN_N_VID
[ Upstream commit 4e37d6911f36545b286d15073f6f2222f840e81c ]
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions