]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virnetdevbandwidth.c: Separate tc filter creation to a function
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Apr 2015 11:47:22 +0000 (13:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Apr 2015 08:30:21 +0000 (10:30 +0200)
commitc6f0be2fcf9f941292a246564cc71e5fa9776a45
treed48c3c36af3ee0748661947a02a5fb3c48aae234
parent2397be694dd9bd1dd8b956f2e3eb94e08351caf8
virnetdevbandwidth.c: Separate tc filter creation to a function

Not only this simplifies the code a bit, it prepares the
environment for upcoming patches. The new
virNetDevBandwidthManipulateFilter() function is capable of both
removing a filter and adding a new one. At the same time! Yeah,
this is not currently used anywhere but look at the next commit
where you'll see it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevbandwidth.c