From: Eric Dumazet Date: Tue, 2 Jun 2009 05:13:45 +0000 (+0000) Subject: net: add _skb_dst opaque field X-Git-Tag: v2.6.31-rc1~330^2~174 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=dfbf97f3ac980b69dfbc41c83a208211a38443e8;p=~shefty%2Frdma-dev.git net: add _skb_dst opaque field struct sk_buff uses one union to define dst and rtable fields. We want to replace direct access to these pointers by accessors. First patch adds a new "unsigned long _skb_dst;" opaque field in this union. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index aff494ba6a3..d4d7c666ca6 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -325,6 +325,7 @@ struct sk_buff { union { struct dst_entry *dst; struct rtable *rtable; + unsigned long _skb_dst; }; #ifdef CONFIG_XFRM struct sec_path *sp;