]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/ip.h
net: avoid a pair of dst_hold()/dst_release() in ip_append_data()
[net-next-2.6.git] / include / net / ip.h
index bc026ecb513f7c57f1d836017f4a02b6d8e72a57..ddef10c22e3a0411922349dae31b08192da72081 100644 (file)
@@ -110,7 +110,7 @@ extern int          ip_append_data(struct sock *sk,
                                                   int odd, struct sk_buff *skb),
                                void *from, int len, int protolen,
                                struct ipcm_cookie *ipc,
-                               struct rtable *rt,
+                               struct rtable **rt,
                                unsigned int flags);
 extern int             ip_generic_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb);
 extern ssize_t         ip_append_page(struct sock *sk, struct page *page,