summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy2007-12-13 18:32:04 +0100
committerDavid S. Miller2007-12-14 22:54:39 +0100
commit4a9ecd5960e6a7814f6e3405807d49010ffe3a88 (patch)
tree974917ceecf5b554dc28421ebff060efc6ef2fa8 /net
parent[SYNCPPP]: Endianness and 64bit fixes. (diff)
downloadkernel-qcow2-linux-4a9ecd5960e6a7814f6e3405807d49010ffe3a88.tar.gz
kernel-qcow2-linux-4a9ecd5960e6a7814f6e3405807d49010ffe3a88.tar.xz
kernel-qcow2-linux-4a9ecd5960e6a7814f6e3405807d49010ffe3a88.zip
[NETFILTER]: bridge: fix missing link layer headers on outgoing routed packets
As reported by Damien Thebault, the double POSTROUTING hook invocation fix caused outgoing packets routed between two bridges to appear without a link-layer header. The reason for this is that we're skipping the br_nf_post_routing hook for routed packets now and don't save the original link layer header, but nevertheless tries to restore it on output, causing corruption. The root cause for this is that skb->nf_bridge has no clearly defined lifetime and is used to indicate all kind of things, but that is quite complicated to fix. For now simply don't touch these packets and handle them like packets from any other device. Tested-by: Damien Thebault <damien.thebault@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions