summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2012-02-06 13:23:10 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-09 20:47:53 +0100
commita8db7b2d197a0d624baab83f0c810b0edbc4ffd0 (patch)
treeebd355871baa76453aca87e0556c9bb55447672c /include
parente0aac52e17a3db68fe2ceae281780a70fc69957f (diff)
netfilter: nf_queue: fix queueing of bridged gro skbs
When trying to nf_queue GRO/GSO skbs, nf_queue uses skb_gso_segment to split the skb. However, if nf_queue is called via bridge netfilter, the mac header won't be preserved -- packets will thus contain a bogus mac header. Fix this by setting skb->data to the mac header when skb->nf_bridge is set and restoring skb->data afterwards for all segments. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions