summaryrefslogtreecommitdiff
path: root/net/sched/act_meta_skbprio.c
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2016-12-28 14:54:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-15 13:42:53 +0100
commit9b4a34ff89878abbab4e22efaf7c2c683664304f (patch)
tree6793dcb04eadabdb4f63aee05116841dbaae6b22 /net/sched/act_meta_skbprio.c
parent99f40c6bf565eaf69c705d944f687712e108a3dd (diff)
net/sched: cls_flower: Fix missing addr_type in classify
[ Upstream commit 0df0f207aab4f42e5c96a807adf9a6845b69e984 ] Since we now use a non zero mask on addr_type, we are matching on its value (IPV4/IPV6). So before this fix, matching on enc_src_ip/enc_dst_ip failed in SW/classify path since its value was zero. This patch sets the proper value of addr_type for encapsulated packets. Fixes: 970bfcd09791 ('net/sched: cls_flower: Use mask for addr_type') Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/act_meta_skbprio.c')
0 files changed, 0 insertions, 0 deletions