]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/af_inet6.c
[POWERPC] EEH: Power4 systems sometimes need multiple resets.
[linux-2.6-omap-h63xx.git] / net / ipv6 / af_inet6.c
index e19457fe4f6edb79ef059dbf88f93ed1836bc8d9..ac85e9c532c20aa6c2a6981605a5a26fc211cbb5 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/capability.h>
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/socket.h>
@@ -659,9 +658,7 @@ int inet6_sk_rebuild_header(struct sock *sk)
                        return err;
                }
 
-               ip6_dst_store(sk, dst, NULL);
-               sk->sk_route_caps = dst->dev->features &
-                       ~(NETIF_F_IP_CSUM | NETIF_F_TSO);
+               __ip6_dst_store(sk, dst, NULL);
        }
 
        return 0;