diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-06-02 01:13:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-03 05:51:01 -0400 |
commit | dfbf97f3ac980b69dfbc41c83a208211a38443e8 (patch) | |
tree | 5d05ba74f63681c7690cdbbe6182de6263f3dfad /include | |
parent | 3be8c940a64009afc484c380cb0f8f4a07136519 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index aff494ba6a31..d4d7c666ca63 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -325,6 +325,7 @@ struct sk_buff { | |||
325 | union { | 325 | union { |
326 | struct dst_entry *dst; | 326 | struct dst_entry *dst; |
327 | struct rtable *rtable; | 327 | struct rtable *rtable; |
328 | unsigned long _skb_dst; | ||
328 | }; | 329 | }; |
329 | #ifdef CONFIG_XFRM | 330 | #ifdef CONFIG_XFRM |
330 | struct sec_path *sp; | 331 | struct sec_path *sp; |