Re: [net V2] act_mirred: do not drop packets when fails to mirror it

2012-08-16 Thread David Miller
From: Jamal Hadi Salim Date: Thu, 16 Aug 2012 08:11:47 -0400 > On Thu, 2012-08-16 at 14:44 +0800, Jason Wang wrote: >> We drop packet unconditionally when we fail to mirror it. This is not >> intended >> in some cases. Consdier for kvm guest, we may mirror the traffic of the >> bridge >> to a t

Re: [net V2] act_mirred: do not drop packets when fails to mirror it

2012-08-16 Thread Jamal Hadi Salim
On Thu, 2012-08-16 at 14:44 +0800, Jason Wang wrote: > We drop packet unconditionally when we fail to mirror it. This is not intended > in some cases. Consdier for kvm guest, we may mirror the traffic of the bridge > to a tap device used by a VM. When kernel fails to mirror the packet in > conditio

[net V2] act_mirred: do not drop packets when fails to mirror it

2012-08-15 Thread Jason Wang
We drop packet unconditionally when we fail to mirror it. This is not intended in some cases. Consdier for kvm guest, we may mirror the traffic of the bridge to a tap device used by a VM. When kernel fails to mirror the packet in conditions such as when qemu crashes or stop polling the tap, it's ha