diff options
Diffstat (limited to 'net/ipv4/ip_output.c')
| -rw-r--r-- | net/ipv4/ip_output.c | 7 | 
1 files changed, 2 insertions, 5 deletions
| diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index c934f5316c3b..c72fc878f06d 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
| @@ -69,13 +69,10 @@ | |||
| 69 | #include <net/ip.h> | 69 | #include <net/ip.h> | 
| 70 | #include <net/protocol.h> | 70 | #include <net/protocol.h> | 
| 71 | #include <net/route.h> | 71 | #include <net/route.h> | 
| 72 | #include <net/tcp.h> | ||
| 73 | #include <net/udp.h> | ||
| 74 | #include <linux/skbuff.h> | 72 | #include <linux/skbuff.h> | 
| 75 | #include <net/sock.h> | 73 | #include <net/sock.h> | 
| 76 | #include <net/arp.h> | 74 | #include <net/arp.h> | 
| 77 | #include <net/icmp.h> | 75 | #include <net/icmp.h> | 
| 78 | #include <net/raw.h> | ||
| 79 | #include <net/checksum.h> | 76 | #include <net/checksum.h> | 
| 80 | #include <net/inetpeer.h> | 77 | #include <net/inetpeer.h> | 
| 81 | #include <net/checksum.h> | 78 | #include <net/checksum.h> | 
| @@ -84,6 +81,7 @@ | |||
| 84 | #include <linux/netfilter_bridge.h> | 81 | #include <linux/netfilter_bridge.h> | 
| 85 | #include <linux/mroute.h> | 82 | #include <linux/mroute.h> | 
| 86 | #include <linux/netlink.h> | 83 | #include <linux/netlink.h> | 
| 84 | #include <linux/tcp.h> | ||
| 87 | 85 | ||
| 88 | /* | 86 | /* | 
| 89 | * Shall we try to damage output packets if routing dev changes? | 87 | * Shall we try to damage output packets if routing dev changes? | 
| @@ -329,8 +327,7 @@ int ip_queue_xmit(struct sk_buff *skb, int ipfragok) | |||
| 329 | if (ip_route_output_flow(&rt, &fl, sk, 0)) | 327 | if (ip_route_output_flow(&rt, &fl, sk, 0)) | 
| 330 | goto no_route; | 328 | goto no_route; | 
| 331 | } | 329 | } | 
| 332 | __sk_dst_set(sk, &rt->u.dst); | 330 | sk_setup_caps(sk, &rt->u.dst); | 
| 333 | tcp_v4_setup_caps(sk, &rt->u.dst); | ||
| 334 | } | 331 | } | 
| 335 | skb->dst = dst_clone(&rt->u.dst); | 332 | skb->dst = dst_clone(&rt->u.dst); | 
| 336 | 333 | ||
