net: skb->dst accessors
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 2 Jun 2009 05:19:30 +0000 (05:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jun 2009 09:51:04 +0000 (02:51 -0700)
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found