]> git.proxmox.com Git - ovs.git/commit
rhel: Fixed a bug for checking the correct major version and revision.
authorAshish Varma <ashishvarma.ovs@gmail.com>
Mon, 8 Jul 2019 16:51:29 +0000 (09:51 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Jul 2019 21:10:01 +0000 (14:10 -0700)
commit4afd1d8769de721a95a4f730fa023f77c9e51895
treecb54115731709eee3c552e4f1ebcfc7c0f869b44
parentc18c020e3cf789fbf5f3fc96e02fee4fc94c789c
rhel: Fixed a bug for checking the correct major version and revision.

Fixed a bug where checking for major version 3.10 and major revision not
equal to 327 or 693 or 957 should have gone to the default else at the end.
In the current code, the default else condition will not get executed
for kernel with major version 3.10 and major revision not equal
to 327/693/957 resulting in failure to load the kernel module.

Fixes: 402efbe4e176 ("rhel: Add 4.12 kernel support in ovs-kmod-manage.sh")
Signed-off-by: Ashish Varma <ashishvarma.ovs@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
rhel/openvswitch-kmod-fedora.spec.in