diff options
author | Patrick McHardy <kaber@trash.net> | 2006-04-04 13:42:35 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-09 22:25:23 -0700 |
commit | 2e2f7aefa8a8ba4adb6ecee8cbb43fbe9ca4cc89 (patch) | |
tree | 891921c05dbf5ac2436473d77b8dbfda91a1b9bc /include | |
parent | 550e29bc96e6f1ced2bca82dace197b009434367 (diff) | |
download | blackbird-op-linux-2e2f7aefa8a8ba4adb6ecee8cbb43fbe9ca4cc89.tar.gz blackbird-op-linux-2e2f7aefa8a8ba4adb6ecee8cbb43fbe9ca4cc89.zip |
[NETFILTER]: Fix fragmentation issues with bridge netfilter
The conntrack code doesn't do re-fragmentation of defragmented packets
anymore but relies on fragmentation in the IP layer. Purely bridged
packets don't pass through the IP layer, so the bridge netfilter code
needs to take care of fragmentation itself.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 8fe6156ca9b0..3d2e5ca62a5a 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -95,6 +95,7 @@ extern int ip_local_deliver(struct sk_buff *skb); extern int ip_mr_input(struct sk_buff *skb); extern int ip_output(struct sk_buff *skb); extern int ip_mc_output(struct sk_buff *skb); +extern int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)); extern int ip_do_nat(struct sk_buff *skb); extern void ip_send_check(struct iphdr *ip); extern int ip_queue_xmit(struct sk_buff *skb, int ipfragok); |