mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
ipv4: Remove rt_key_{src,dst,tos} from struct rtable.
They are always used in contexts where they can be reconstituted, or where the finally resolved rt->rt_{src,dst} is semantically equivalent. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
38a424e465
commit
1a00fee4ff
3 changed files with 9 additions and 38 deletions
|
@ -44,14 +44,9 @@ struct fib_info;
|
|||
struct rtable {
|
||||
struct dst_entry dst;
|
||||
|
||||
/* Lookup key. */
|
||||
__be32 rt_key_dst;
|
||||
__be32 rt_key_src;
|
||||
|
||||
int rt_genid;
|
||||
unsigned int rt_flags;
|
||||
__u16 rt_type;
|
||||
__u8 rt_key_tos;
|
||||
|
||||
__be32 rt_dst; /* Path destination */
|
||||
__be32 rt_src; /* Path source */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue