Wed, Jan 24, 2018 at 12:42:55PM CET, sathya.pe...@broadcom.com wrote: >When a filter cannot be added in HW (i.e, fl_hw_replace_filter() returns >error), the TCA_CLS_FLAGS_IN_HW flag is not set in the filter flags. > >This flag (via tc_in_hw()) must be checked before issuing the call >to delete a filter in HW (fl_hw_destroy_filter()) and before issuing the >call to query stats (fl_hw_update_stats()). > >Signed-off-by: Sathya Perla <sathya.pe...@broadcom.com>
1) You have to indicate what tree you aim this to be applied on: [patch net] or [patch net-next] 2) Please provided a "Fixes" line 3) Please use scripts/get_maintainer.pl to get the people to cc 4) Please aim the fix not only to cls_flower, but to other cls as well. otherwise the patch looks ok.