[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130531.163850.493455196018855311.davem@davemloft.net>
Date: Fri, 31 May 2013 16:38:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: horms@...ge.net.au
Cc: pablo@...filter.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, gang.chen@...anux.com
Subject: Re: [PATCH net-next v3] netfilter: Correct calculation using
skb->tail and skb-network_header
From: Simon Horman <horms@...ge.net.au>
Date: Fri, 31 May 2013 11:39:29 +0900
> This corrects an regression introduced by "net: Use 16bits for *_headers
> fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In
> that case skb->tail will be a pointer whereas skb->network_header
> will be an offset from head. This is corrected by using wrappers that
> ensure that calculations are always made using pointers.
>
> Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
> Reported-by: Chen Gang <gang.chen@...anux.com>
> Signed-off-by: Simon Horman <horms@...ge.net.au>
I've applied this directly to net-next, thanks Simon.
--
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