[NET]: Introduce union in struct dst_entry to hold 'next' pointer
authorEric Dumazet <dada1@cosmosbay.com>
Sat, 10 Feb 2007 00:14:24 +0000 (16:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Feb 2007 07:20:36 +0000 (23:20 -0800)
commit75ce7ceaa1221858c0163e75d19eb8a423a212ff
tree8314e9997683d74767f6c1290bc946fb4cde424c
parentf7b14315faf62935a791dd67969c4289563058f0
[NET]: Introduce union in struct dst_entry to hold 'next' pointer

This patch introduces an anonymous union to nicely express the fact that all
objects inherited from struct dst_entry should access to the generic 'next'
pointer but with appropriate type verification.

This patch is a prereq before following patches.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h