mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3be8c940a6
commit
dfbf97f3ac
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue