diff options
| author | Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> | 2002-10-24 12:42:55 -0700 |
|---|---|---|
| committer | Hideaki Yoshifuji <yoshfuji@linux-ipv6.org> | 2002-10-24 12:42:55 -0700 |
| commit | ca77d319b757e8abb74684207de47298d1dd6fa2 (patch) | |
| tree | 9ff830d01068a13443dba609c98f0bc45ed79fea /include/net | |
| parent | 29cdd1dbfbc4a7ca7ac2dca453b0bb3ba189ca00 (diff) | |
[IPV4]: Kill ip_send, use dst_output instead.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/ip.h | 8 | ||||
| -rw-r--r-- | include/net/ipip.h | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index bf14f1f50b90..af74bb3f79d9 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -162,14 +162,6 @@ extern int sysctl_local_port_range[2]; extern int sysctl_ip_default_ttl; #ifdef CONFIG_INET -static inline int ip_send(struct sk_buff *skb) -{ - if (skb->len > skb->dst->pmtu) - return ip_fragment(skb, ip_finish_output); - else - return ip_finish_output(skb); -} - /* The function in 2.2 was invalid, producing wrong result for * check=0xFEFF. It was noticed by Arthur Skawina _year_ ago. --ANK(000625) */ static inline diff --git a/include/net/ipip.h b/include/net/ipip.h index ac6438760b0b..ab54c217d75d 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h @@ -34,7 +34,7 @@ struct ip_tunnel ip_select_ident(iph, &rt->u.dst, NULL); \ ip_send_check(iph); \ \ - err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, do_ip_send); \ + err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, dst_output);\ if (err == NET_XMIT_SUCCESS || err == NET_XMIT_CN) { \ stats->tx_bytes += pkt_len; \ stats->tx_packets++; \ |
