lkml.org 
[lkml]   [2010]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRE: mpd client timeouts (bisected) 2.6.35-rc3
    It fixed the aim7/specjbb2005 issues! 

    Tested-by: Alex Shi <alex.shi@intel.com>


    Regards!
    Alex

    >
    >Needed to set the wcard bit in copy_skb_header otherwise it will not be cleared
    >when called from skb_clone. Which then hits the loopback device gets pushed
    >into the rx path and is eventually dropped. The following patch fixes this.
    >Hopefully, this is easy and fast enough for you Dave.
    >
    >
    >[PATCH] net: fix deliver_no_wcard regression on loopback device
    >
    >deliver_no_wcard is not being set in skb_copy_header.
    >In the skb_cloned case it is not being cleared and
    >may cause the skb to be dropped when the loopback device
    >pushes it back up the stack.
    >
    >Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
    >---
    >
    > net/core/skbuff.c | 1 +
    > 1 files changed, 1 insertions(+), 0 deletions(-)
    >
    >diff --git a/net/core/skbuff.c b/net/core/skbuff.c
    >index 9f07e74..bcf2fa3 100644
    >--- a/net/core/skbuff.c
    >+++ b/net/core/skbuff.c
    >@@ -532,6 +532,7 @@ static void __copy_skb_header(struct sk_buff *new, const
    >struct sk_buff *old)
    > new->ip_summed = old->ip_summed;
    > skb_copy_queue_mapping(new, old);
    > new->priority = old->priority;
    >+ new->deliver_no_wcard = old->deliver_no_wcard;
    > #if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE)
    > new->ipvs_property = old->ipvs_property;
    > #endif


    \
     
     \ /
      Last update: 2010-06-17 07:19    [W:0.023 / U:0.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site