From: Eric Dumazet Date: Tue, 2 Jun 2009 05:19:30 +0000 (+0000) Subject: net: skb->dst accessors X-Git-Tag: v2.6.31-rc1~330^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf30907d63893e4208dfe3f5c88ae12bc2f25d5;p=pandora-kernel.git net: skb->dst accessors Define three accessors to get/set dst attached to a skb struct dst_entry *skb_dst(const struct sk_buff *skb) void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) void skb_dst_drop(struct sk_buff *skb) This one should replace occurrences of : dst_release(skb->dst) skb->dst = NULL; Delete skb->dst field Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed