commit | 0d1d7ad2b50e7fe08a4e5d7affe6a8d3d50f4d21 | [log] [tgz] |
---|---|---|
author | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Wed Jun 19 10:19:33 2024 +0000 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Jun 20 20:57:24 2024 +0000 |
tree | 4f34b249a817b48eb431ec022fef8ca62e2ab712 | |
parent | 31c1ecd267843a08b366069762937cb37d6e7308 [diff] |
Fix for invalid VLAN id Issue: Set LAN configuration, allowing invalid VLAN ID's and giving exception when user trying to set VLAN. Fix: Add condition to return proper error for invalid VLAN ID's and add a condition to skip exception temporarily. Tested: Verified using ipmitool raw commands. Command: ipmitool raw 0x0c 0x01 0x1 0x14 0x00 0x80 //Set vlan id=0 Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0 cmd=0x1 rsp=0xcc): Invalid data field in request //Set Lan, vlan id=4095 Command: ipmitool raw 0x0c 0x01 0x1 0x14 0xff 0x8f Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0 cmd=0x1 rsp=0xcc): Invalid data field in request Signed-off-by: poram srinivasa rao <poramx.srinivasa.rao@intel.com> Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: I0071cae443029a03d8e6fb64f770fee3db695dfe
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage