]> err.no Git - linux-2.6/blobdiff - net/ipv6/udp.c
[IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls
[linux-2.6] / net / ipv6 / udp.c
index 8d3432a70f3a6e25d1a32cb5793e91f8fa380bca..3d54f246411e9da1f1d2be9f8f5d3040828175a2 100644 (file)
@@ -23,7 +23,6 @@
  *      2 of the License, or (at your option) any later version.
  */
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/socket.h>
@@ -783,7 +782,7 @@ do_udp_sendmsg:
                connected = 0;
        }
 
-       err = ip6_dst_lookup(sk, &dst, fl);
+       err = ip6_sk_dst_lookup(sk, &dst, fl);
        if (err)
                goto out;
        if (final_p)