diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-04-01 14:16:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-02 13:20:30 -0700 |
commit | 3eed52842b9fd291233c15f65fed34c5d3241183 (patch) | |
tree | 015047dd3e14ceba29bb1b2714f439759d35061e /drivers/atm | |
parent | 40d0690bd0b681a797d5b9752b72c2890d9d1220 (diff) |
net: sched: don't set tunnel for decap action
Action tunnel_key doesn't have a metadata/tunnel for release(decap) action.
Drivers do not dereference entry->tunnel pointer for that action type, so
this behavior doesn't result in a crash at the moment. However, this needs
to be corrected as a preparation for updating hardware offloads API to not
rely on rtnl lock, for which flow_action code will copy the tunnel data to
temporary buffer to prevent concurrent action overwrite from
invalidating/freeing it.
Fixes: 3a7b68617de7 ("cls_api: add translator to flow_action representation")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions