projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be8c94
)
net: add _skb_dst opaque field
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 2 Jun 2009 05:13:45 +0000
(
05:13
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 3 Jun 2009 09:51:01 +0000
(
02:51
-0700)
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>
include/linux/skbuff.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/skbuff.h
b/include/linux/skbuff.h
index aff494ba6a31e166717696b4a617adf05e6ff324..d4d7c666ca63f4626a1eb45f588e323bf3456c8f 100644
(file)
--- 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;