]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: bridge: allow fragmentation of VLAN packets traversing a bridge
authorhummerbliss@gmail.com <hummerbliss@gmail.com>
Mon, 20 Apr 2009 15:12:35 +0000 (17:12 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 20 Apr 2009 15:12:35 +0000 (17:12 +0200)
commitfbed4a090b5a6a6a9e9207305df43c84508dd4f9
treefe91cc539f7ebe89e66f432949c316fd5b3a496e
parent324ed0e751087c4892c457dfe0047cd20c705d77
netfilter: bridge: allow fragmentation of VLAN packets traversing a bridge

br_nf_dev_queue_xmit only checks for ETH_P_IP packets for fragmenting but not
VLAN packets. This results in dropping of large VLAN packets. This can be
observed when connection tracking is enabled. Connection tracking re-assembles
fragmented packets, and these have to re-fragmented when transmitting out. Also,
make sure only refragmented packets are defragmented as per suggestion from
Patrick McHardy.

Signed-off-by: Saikiran Madugula <hummerbliss@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/bridge/br_netfilter.c