From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m69-169.mailgun.net (m69-169.mailgun.net [166.78.69.169]) by huchra.bufferbloat.net (Postfix) with ESMTP id 88BD621F2EC for ; Tue, 3 Mar 2015 04:32:59 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1425385978; h=Sender: Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-Id: To: Reply-To: From: Date; bh=fY877Czy0v5Sol+eLw2XkeL5AZg0B1zPY1CvJ4AaxsY=; b=tZCeI0rfdmpcxyMpJmB3mPzwiDlO3KMg8Ka4CkOY/d7pHWkHsYTy2QyZlvABO4svmyBgPgNr dxp7p9fBmDY4KxeJfsxXlKiUKFMb6tFdZLSmRNnrMsJY3LuhJG+gAqxOsqr0SoKqnB3zyLRx NRrrU3/qTnghX1FBINpl6rFIrN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=C1CloGXY+c6VUCivQV0CcvzdsyoqDI6fpX2lg4jWHn5Es7H89Oz6MeoZ6vO0wSfBj4JmUg S73bcaUdKjPIwBz8ibFFoXKQjE+rvQmUMRd/S9YICb5w8cWFKXp6UQOb+93I2BGYMgTY2NYf 0iM6PMdU5R+L7Um3eDN8Gjizynocg= Received: from github.com (Unknown [192.30.252.34]) by mxa.mailgun.org with ESMTP id 54f5a9f1.5a50540-in01; Tue, 03 Mar 2015 12:32:49 -0000 (UTC) Date: Tue, 03 Mar 2015 04:32:49 -0800 From: GitHub To: cerowrt-commits@lists.bufferbloat.net Message-Id: <54f5a9f17a2f6_62de3f8b56c792c0549f7@hookshot-fe2-cp1-prd.iad.github.net.mail> Subject: [dtaht/ceropackages-3.10] 5a8c9b: Teach SQM hotplug tricks Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_54f5a9f179eea_62de3f8b56c792c0548ad"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyIzOWVlZSIsICJjZXJvd3J0LWNvbW1pdHNAbGlzdHMuYnVmZmVyYmxvYXQubmV0IiwgIjQwZiJd Sender: noreply@github.com X-BeenThere: cerowrt-commits@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list Reply-To: GitHub List-Id: Development commits for the cerowrt project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 12:33:28 -0000 ----==_mimepart_54f5a9f179eea_62de3f8b56c792c0548ad Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/dtaht/ceropackages-3.10 Commit: 5a8c9b17e46c696ad9015289f81a081a16e961a8 https://github.com/dtaht/ceropackages-3.10/commit/5a8c9b17e46c696ad9015289f81a081a16e961a8 Author: Sebastian Moeller Date: 2015-03-03 (Tue, 03 Mar 2015) Changed paths: M net/sqm-scripts/Makefile M net/sqm-scripts/files/usr/lib/sqm/run.sh M net/sqm-scripts/files/usr/lib/sqm/simple.qos Log Message: ----------- Teach SQM hotplug tricks Some interfaces like wan-pppoe go away, when the ppp connection is lost and get recreated once the link is established again. SQM now has its own hotplug script to re-enable itself on the interfae just hotplugged. SQM will not touch other instances of itself running on other interfaces if called by hotplug.d. The implementation now allows this functionality by calling run.sh like: /usr/lib/sqm/run.sh interface YOUR_INTERFACE_NAME_HERE e.g.: /usr/lib/sqm/run.sh interface ge00-pppoe If called with a specific interface SQM will only try to disable itself on that interface to clean up all left over state and the re-enable itself on just that interface. Hopefully that allows for better service with instable interfaces like pppoe. The current code passes a simple manual stop start test of the ge00-pppoe interface from the GUI and does seem to do the right thing, at least on cerowrt 3.10.50-1... ----==_mimepart_54f5a9f179eea_62de3f8b56c792c0548ad--