Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfbf97f3 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3be8c940
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;