]> git.ipfire.org Git - thirdparty/iproute2.git/commit
etf: Add skip_sock_check
authorVedang Patel <vedang.patel@intel.com>
Thu, 18 Jul 2019 19:55:39 +0000 (12:55 -0700)
committerDavid Ahern <dsahern@gmail.com>
Thu, 18 Jul 2019 22:44:21 +0000 (15:44 -0700)
commitd9114263d00dac608e87aa27761574202bd009c2
tree4e7b0f65942b0b4b96e82973bd803bc5049c47d2
parent86545eaffb9eb1f745276a720364ab64d3e66260
etf: Add skip_sock_check

ETF Qdisc currently checks for a socket with SO_TXTIME socket option. If
either is not present, the packet is dropped. In the future commits, we
want other Qdiscs to add packet with launchtime to the ETF Qdisc. Also,
there are some packets (e.g. ICMP packets) which may not have a socket
associated with them.  So, add an option to skip this check.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/q_etf.c