summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_flower.c
diff options
context:
space:
mode:
authorAdi Nissim <adin@mellanox.com>2018-12-02 14:55:21 +0200
committerDavid S. Miller <davem@davemloft.net>2018-12-04 20:53:37 -0800
commit1c25324caf8292573b2b519fa4957baefd0c9657 (patch)
tree7aec40872e97462a29f78bd46dec8e7ee01e0eb4 /net/sched/cls_flower.c
parent80ef0f22ceda1804cc572836722df7a33dec71c9 (diff)
downloadblackbird-obmc-linux-1c25324caf8292573b2b519fa4957baefd0c9657.tar.gz
blackbird-obmc-linux-1c25324caf8292573b2b519fa4957baefd0c9657.zip
net/sched: act_tunnel_key: Don't dump dst port if it wasn't set
It's possible to set a tunnel without a destination port. However, on dump(), a zero dst port is returned to user space even if it was not set, fix that. Note that so far it wasn't required, b/c key less tunnels were not supported and the UDP tunnels do require destination port. Signed-off-by: Adi Nissim <adin@mellanox.com> Reviewed-by: Oz Shlomo <ozsh@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flower.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud