|
@@ -859,12 +859,12 @@ static unsigned int br_nf_forward_arp(const struct nf_hook_ops *ops,
|
|
|
return NF_STOLEN;
|
|
return NF_STOLEN;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#if IS_ENABLED(CONFIG_NF_CONNTRACK_IPV4)
|
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
|
|
|
static int br_nf_dev_queue_xmit(struct sk_buff *skb)
|
|
static int br_nf_dev_queue_xmit(struct sk_buff *skb)
|
|
|
{
|
|
{
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
|
|
- if (skb->nfct != NULL && skb->protocol == htons(ETH_P_IP) &&
|
|
|
|
|
|
|
+ if (skb->protocol == htons(ETH_P_IP) &&
|
|
|
skb->len + nf_bridge_mtu_reduction(skb) > skb->dev->mtu &&
|
|
skb->len + nf_bridge_mtu_reduction(skb) > skb->dev->mtu &&
|
|
|
!skb_is_gso(skb)) {
|
|
!skb_is_gso(skb)) {
|
|
|
if (br_parse_ip_options(skb))
|
|
if (br_parse_ip_options(skb))
|