[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130604.172745.973899787878302690.davem@davemloft.net>
Date: Tue, 04 Jun 2013 17:27:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pablo@...filter.org
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH] net: fix sk_buff head without data area
From: Pablo Neira Ayuso <pablo@...filter.org>
Date: Mon, 3 Jun 2013 21:28:43 +0200
> Eric Dumazet spotted that we have to check skb->head instead
> of skb->data as skb->head points to the beginning of the
> data area of the skbuff. Similarly, we have to initialize the
> skb->head pointer, not skb->data in __alloc_skb_head.
>
> After this fix, netlink crashes in the release path of the
> sk_buff, so let's fix that as well.
>
> This bug was introduced in (0ebd0ac net: add function to
> allocate sk_buff head without data area).
>
> Reported-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists