Re: [Qemu-devel] [PATCH RFC 3/7] net/filter: Skip the disabled filter when delivering packets

2016-01-24 Thread Jason Wang
On 01/22/2016 05:32 PM, Wen Congyang wrote: > On 01/22/2016 04:36 PM, zhanghailiang wrote: >> If the filter is disabled, don't go through it. >> >> Signed-off-by: zhanghailiang >> --- >> include/net/filter.h | 5 + >> net/net.c| 4 >> 2

Re: [Qemu-devel] [PATCH RFC 3/7] net/filter: Skip the disabled filter when delivering packets

2016-01-24 Thread Hailiang Zhang
On 2016/1/25 13:04, Jason Wang wrote: On 01/22/2016 05:32 PM, Wen Congyang wrote: On 01/22/2016 04:36 PM, zhanghailiang wrote: If the filter is disabled, don't go through it. Signed-off-by: zhanghailiang --- include/net/filter.h | 5 + net/net.c

Re: [Qemu-devel] [PATCH RFC 3/7] net/filter: Skip the disabled filter when delivering packets

2016-01-22 Thread Wen Congyang
On 01/22/2016 04:36 PM, zhanghailiang wrote: > If the filter is disabled, don't go through it. > > Signed-off-by: zhanghailiang > --- > include/net/filter.h | 5 + > net/net.c| 4 > 2 files changed, 9 insertions(+) > > diff --git

[Qemu-devel] [PATCH RFC 3/7] net/filter: Skip the disabled filter when delivering packets

2016-01-22 Thread zhanghailiang
If the filter is disabled, don't go through it. Signed-off-by: zhanghailiang --- include/net/filter.h | 5 + net/net.c| 4 2 files changed, 9 insertions(+) diff --git a/include/net/filter.h b/include/net/filter.h index 9ed5ec6..d797ee4