+4
−1
+1
−1
+3
−4
+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
(Anonymous) unions can help us to avoid ugly casts.
A common cast it the (struct rtable *)skb->dst one.
Defining an union like :
union {
struct dst_entry *dst;
struct rtable *rtable;
};
permits to use skb->rtable in place.
Signed-off-by:
Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by:
David S. Miller <davem@davemloft.net>