• WANG Cong's avatar
    tc: fill in handle before checking argc · 285e7768
    WANG Cong authored
    When deleting a specific basic filter with handle,
    tc command always ignores the 'handle' option, so
    tcm_handle is always 0 and kernel deletes all filters
    in the selected group. This is wrong, we should respect
    'handle' in cmdline.
    
    Cc: Jamal Hadi Salim <jhs@mojatatu.com>
    Cc: Stephen Hemminger <stephen@networkplumber.org>
    Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
    285e7768
f_basic.c 3.46 KB