diff options
author | Florian Westphal <fw@strlen.de> | 2012-02-06 13:23:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-09 20:47:53 +0100 |
commit | a8db7b2d197a0d624baab83f0c810b0edbc4ffd0 (patch) | |
tree | ebd355871baa76453aca87e0556c9bb55447672c /drivers/pci/syscall.c | |
parent | ipvs: fix matching of fwmark templates during scheduling (diff) | |
download | linux-a8db7b2d197a0d624baab83f0c810b0edbc4ffd0.tar.xz linux-a8db7b2d197a0d624baab83f0c810b0edbc4ffd0.zip |
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 'drivers/pci/syscall.c')
0 files changed, 0 insertions, 0 deletions