Jason Wang
16c0b164bd
act_mirred: do not drop packets when fails to mirror it
...
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 hard for the
management software to detect such condition and clean the the mirroring
before. This would lead all packets to the bridge to be dropped and break the
netowrk of other virtual machines.
To solve the issue, the patch does not drop packets when kernel fails to mirror
it, and only drop the redirected packets.
Signed-off-by: Jason Wang <[email protected] >
Signed-off-by: Jamal Hadi Salim <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2012-08-16 14:54:44 -07:00
..
act_api.c
pkt_sched: act_api: Move away from NLMSG_PUT().
2012-06-26 21:39:32 -07:00
act_csum.c
ipv6: correct the ipv6 option name - Pad0 to Pad1
2012-05-17 15:49:51 -04:00
act_gact.c
net_sched: gact: Fix potential panic in tcf_gact().
2012-08-03 16:47:24 -07:00
act_ipt.c
net_sched: act: Delete estimator in error path.
2012-08-06 13:30:01 -07:00
act_mirred.c
act_mirred: do not drop packets when fails to mirror it
2012-08-16 14:54:44 -07:00
act_nat.c
act_pedit.c
net_sched: act: Delete estimator in error path.
2012-08-06 13:30:01 -07:00
act_police.c
act_simple.c
net_sched: act: Delete estimator in error path.
2012-08-06 13:30:01 -07:00
act_skbedit.c
cls_api.c
pkt_sched: cls_api: Move away from NLMSG_NEW().
2012-06-26 21:54:15 -07:00
cls_basic.c
cls_cgroup.c
cls_flow.c
cls_fw.c
cls_route.c
ipv4: Prepare for change of rt->rt_iif encoding.
2012-07-23 16:36:26 -07:00
cls_rsvp.c
cls_rsvp.h
cls_rsvp6.c
cls_tcindex.c
cls_u32.c
net: Convert net_ratelimit uses to net_<level>_ratelimited
2012-05-15 13:45:03 -04:00
em_canid.c
net: em_canid: Ematch rule to match CAN frames according to their identifiers
2012-07-04 13:07:05 +02:00
em_cmp.c
em_ipset.c
net: sched: add ipset ematch
2012-07-12 07:54:46 -07:00
em_meta.c
ipv4: Prepare for change of rt->rt_iif encoding.
2012-07-23 16:36:26 -07:00
em_nbyte.c
em_text.c
em_u32.c
ematch.c
net: Convert net_ratelimit uses to net_<level>_ratelimited
2012-05-15 13:45:03 -04:00
Kconfig
net: sched: add ipset ematch
2012-07-12 07:54:46 -07:00
Makefile
net: sched: add ipset ematch
2012-07-12 07:54:46 -07:00
sch_api.c
pkt_sched: sch_api: Move away from NLMSG_NEW().
2012-06-26 21:54:15 -07:00
sch_atm.c
sch_atm.c: get rid of poinless extern
2012-06-01 10:37:18 -04:00
sch_blackhole.c
sch_cbq.c
sch_choke.c
sch_codel.c
fq_codel: should use qdisc backlog as threshold
2012-05-16 15:30:26 -04:00
sch_drr.c
net_sched: update bstats in dequeue()
2012-05-10 23:33:01 -04:00
sch_dsmark.c
sch_fifo.c
sch_fq_codel.c
fq_codel: should use qdisc backlog as threshold
2012-05-16 15:30:26 -04:00
sch_generic.c
net: Convert net_ratelimit uses to net_<level>_ratelimited
2012-05-15 13:45:03 -04:00
sch_gred.c
net: Convert net_ratelimit uses to net_<level>_ratelimited
2012-05-15 13:45:03 -04:00
sch_hfsc.c
net_sched: update bstats in dequeue()
2012-05-10 23:33:01 -04:00
sch_htb.c
net_sched: update bstats in dequeue()
2012-05-10 23:33:01 -04:00
sch_ingress.c
sch_mq.c
sch_mqprio.c
sch_multiq.c
sch_netem.c
netem: refine early skb orphaning
2012-07-16 23:08:33 -07:00
sch_plug.c
sch_prio.c
sch_qfq.c
sched: add missing group change to qfq_change_class
2012-08-08 16:02:05 -07:00
sch_red.c
sch_sfb.c
sch_sfb: Fix missing NULL check
2012-07-12 08:33:18 -07:00
sch_sfq.c
sch_tbf.c
sch_teql.c
sch_teql: Convert over to dev_neigh_lookup_skb().
2012-07-05 01:09:06 -07:00