search for: ip_send_check

Displaying 3 results from an estimated 3 matches for "ip_send_check".

2007 Apr 18
6
[Bridge] No UDP NFS over bridges in Linux 2.6.16.x?
Hi, I have 2 servers which are connected to a gateway machine. The gateway and one server are running Linux 2.6.16.2, while the third machine is running 2.6.16.5. The two ethernet ports on the gateway which are connected to the servers are combined into a single ethernet bridge device. Ever since 2.6.16, I have noticed that I can no longer cross-mount the two servers' /home directories via
2008 Sep 12
4
Custom build kernel patch fails big time.
...(skb->len); + iph->daddr = x->sel.daddr.a4; + iph->saddr = x->sel.saddr.a4; + if (ph_nexthdr) + iph->protocol = ph_nexthdr; + else + iph->protocol = proto; + ip_send_check(iph); + } else if (x->sel.family == AF_INET6) { + struct ipv6hdr *ip6h = skb->nh.ipv6h; + + memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); + ip6h->version = 6; + ip6h->priority = 0; + ip6h->ne...
2007 Apr 18
5
[Bridge] Any way of knowing a packet's been defragmented
...lude <linux/config.h> --- linux-2.6.8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c.old 2004-08-04 22:46:32.000000000 +0200 +++ linux-2.6.8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c 2004-08-04 22:48:20.000000000 +0200 @@ -1212,7 +1212,7 @@ ip_ct_gather_frags(struct sk_buff *skb) } ip_send_check(skb->nh.iph); - skb->nfcache |= NFC_ALTERED; + skb->nfcache |= NFC_ALTERED | NFC_DEFRAGMENTED; #ifdef CONFIG_NETFILTER_DEBUG /* Packet path as if nothing had happened. */ skb->nf_debug = olddebug;