net/ice/base: add rate limiter profile bit mask check
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 15 Jun 2020 02:04:55 +0000 (10:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:08 +0000 (19:21 +0200)
commit803373cc9428fcbd3848e639d59a199c7990bb1d
tree1b67127db7e78b5ef9caab3312489df798f8fe3a
parent12b8bb04b46ac74e329c49b7215bd5b93fdd627f
net/ice/base: add rate limiter profile bit mask check

Mask bits before accessing the rate limiting profile type field.

Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_sched.c