sch_netem.c (a402eae64d0ad12b1c4a411f250d6c161e67f623) | sch_netem.c (a5135bcfba7345031df45e02cd150a45add47cf8) |
---|---|
1/* 2 * net/sched/sch_netem.c Network emulator 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License. 8 * --- 612 unchanged lines hidden (view full) --- 621 skb->prev = NULL; 622 skb->tstamp = netem_skb_cb(skb)->tstamp_save; 623 624#ifdef CONFIG_NET_CLS_ACT 625 /* 626 * If it's at ingress let's pretend the delay is 627 * from the network (tstamp will be updated). 628 */ | 1/* 2 * net/sched/sch_netem.c Network emulator 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License. 8 * --- 612 unchanged lines hidden (view full) --- 621 skb->prev = NULL; 622 skb->tstamp = netem_skb_cb(skb)->tstamp_save; 623 624#ifdef CONFIG_NET_CLS_ACT 625 /* 626 * If it's at ingress let's pretend the delay is 627 * from the network (tstamp will be updated). 628 */ |
629 if (G_TC_FROM(skb->tc_verd) & AT_INGRESS) | 629 if (skb->tc_from & AT_INGRESS) |
630 skb->tstamp = 0; 631#endif 632 633 if (q->qdisc) { 634 unsigned int pkt_len = qdisc_pkt_len(skb); 635 struct sk_buff *to_free = NULL; 636 int err; 637 --- 513 unchanged lines hidden --- | 630 skb->tstamp = 0; 631#endif 632 633 if (q->qdisc) { 634 unsigned int pkt_len = qdisc_pkt_len(skb); 635 struct sk_buff *to_free = NULL; 636 int err; 637 --- 513 unchanged lines hidden --- |