lkml.org 
[lkml]   [2007]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 31/69] IPV6: Fix slab corruption running ip6sic
    -stable review patch.  If anyone has any objections, please let us know.
    ---------------------

    From: Eric Sesterhenn <snakebyte@gmx.de>

    ---
    net/ipv6/xfrm6_tunnel.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-2.6.21.1.orig/net/ipv6/xfrm6_tunnel.c
    +++ linux-2.6.21.1/net/ipv6/xfrm6_tunnel.c
    @@ -261,7 +261,7 @@ static int xfrm6_tunnel_rcv(struct sk_bu
    __be32 spi;

    spi = xfrm6_tunnel_spi_lookup((xfrm_address_t *)&iph->saddr);
    - return xfrm6_rcv_spi(skb, spi);
    + return xfrm6_rcv_spi(skb, spi) > 0 ? : 0;
    }

    static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-05-21 21:45    [W:4.094 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site