Historic archive of defunct list cerowrt-commits@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: GitHub <noreply@github.com>
To: cerowrt-commits@lists.bufferbloat.net
Subject: [dtaht/ceropackages-3.10] a35712: Generalize get_ifb_associated_with_if's IFB name e...
Date: Sun, 05 Oct 2014 13:37:29 -0700	[thread overview]
Message-ID: <5431ac093695a_56b03fc0173272bc69184@hookshot-fe4-cp1-prd.iad.github.net.mail> (raw)

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/dtaht/ceropackages-3.10
  Commit: a357122349b4ece391a0e04d00f5cc151e488cef
      https://github.com/dtaht/ceropackages-3.10/commit/a357122349b4ece391a0e04d00f5cc151e488cef
  Author: Sebastian Moeller <moeller0@gmx.de>
  Date:   2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M net/sqm-scripts/files/usr/lib/sqm/functions.sh

  Log Message:
  -----------
  Generalize get_ifb_associated_with_if's IFB name extraction regular expression

Instead of searching for a name like ifb0 by grepping for ifb followed by a digit,
extract the whole string starting with ifb up to (and excluding) the closing parenthesis
of "tc -p filter show parent ffff: dev $DEV" output. Example output follows:
filter protocol all pref 10 u32
filter protocol all pref 10 u32 fh 800: ht divisor 1
filter protocol all pref 10 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:1
  match 00000000/00000000 at 0
	action order 1: mirred (Egress Redirect to device ifb1) stolen
 	index 19 ref 1 bind 1 installed 10 sec
 	Action statistics:
	Sent 2582 bytes 31 pkt (dropped 0, overlimits 0 requeues 0)
	backlog 0b 0p requeues 0
So do not use ) as part of the proper IFB name...



                 reply	other threads:[~2014-10-05 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5431ac093695a_56b03fc0173272bc69184@hookshot-fe4-cp1-prd.iad.github.net.mail \
    --to=noreply@github.com \
    --cc=cerowrt-commits@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox