From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m69-170.mailgun.net (m69-170.mailgun.net [166.78.69.170]) by huchra.bufferbloat.net (Postfix) with ESMTP id 9FAF021F3BE for ; Thu, 9 Oct 2014 12:59:26 -0700 (PDT) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1412884765; h=Sender: Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-Id: To: Reply-To: From: Date; bh=DmZJPGyHhecbBlZY/tJ6FnQ6BcCDL8a+stoyJKxhVFs=; b=gVZ1VRwUC0LGLNXvKoR7rhf6y/rFq/BMLl3BpxdO53ETP4TiTm6vl2JTL6lH56J8kSIRZyD7 PYHSRLDHXwdgKuPvegqUL26oRO1KOd15UFCuSFXG+ogVCrfKPKTg92DPEEQFgSduTjPMD2mN Kt6/fsjx9jDVIxUUMvAEegxD9fg= 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=Nr8mMxrNehorK7nWyRL1eEwglDPl7TvDiVlOuRgp+D3vUuF2qx3N+dEa/+dzHS+2TXrywG mLmj0Xfe6da7BC/kgUUwhkHTSwzWgeJrrGRc490ns7gTyP+w+UhKPPCZ/scTcN8LdMBjfTsk jkl4JwOvpMBfV7KkAfrmWqzdL2V0M= Received: from github.com (Unknown [192.30.252.36]) by mxa.mailgun.org with ESMTP id 5436e912.4977f30-in2; Thu, 09 Oct 2014 19:59:14 -0000 (UTC) Date: Thu, 09 Oct 2014 12:59:06 -0700 From: GitHub To: cerowrt-commits@lists.bufferbloat.net Message-Id: <5436e90a19ef7_50fc3f833a7ef2a058f5@hookshot-fe2-cp1-prd.iad.github.net.mail> Subject: [dtaht/ceropackages-3.10] effaff: Fix SQM tear down on interfaces that are just dele... Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5436e90a199aa_50fc3f833a7ef2a057e2"; 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: Thu, 09 Oct 2014 19:59:54 -0000 ----==_mimepart_5436e90a199aa_50fc3f833a7ef2a057e2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/dtaht/ceropackages-3.10 Commit: effaffa1f2a8f60c305391f6e7025b95e72e9d7a https://github.com/dtaht/ceropackages-3.10/commit/effaffa1f2a8f60c305391f6e7025b95e72e9d7a Author: Sebastian Moeller Date: 2014-10-09 (Thu, 09 Oct 2014) Changed paths: M net/sqm-scripts/files/usr/lib/sqm/run.sh Log Message: ----------- Fix SQM tear down on interfaces that are just deleted or changed in uci Up until now SQM tried to use the uci config file /etc/config/sqm to figure out on which interfaces it was running. Unfortunatelly, the uci config file is a bad place to save this state, as the user can change the interface for a given section and thereby wiping out the information about the previous interface, whileSQM might still be active on the old interface. To partly deal with this issue SQM had started to create its own state file to mark interfaces with active SQM instances. Instead of using the interfaces from the config file just use these state fils to figure out which interfaces might need to be stopped. And since all current qos scrpts start out with tearing down any traffic shaping infrastructure on its main interface and the associated IFB, we just stop all active SQM instances before potentially starting new ones. This needs testing... ----==_mimepart_5436e90a199aa_50fc3f833a7ef2a057e2--