diff options
author | David S. Miller <davem@davemloft.net> | 2017-05-09 04:35:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-09 04:35:32 +0200 |
commit | 32f1bc0f3d262125169f9212aac306c638e34b54 (patch) | |
tree | 24b4135b07b5520a5f1912f46cc72d0ec38fadaa /include/net | |
parent | net: mdio-mux: bcm-iproc: call mdiobus_free() in error path (diff) | |
download | linux-32f1bc0f3d262125169f9212aac306c638e34b54.tar.xz linux-32f1bc0f3d262125169f9212aac306c638e34b54.zip |
Revert "ipv4: restore rt->fi for reference counting"
This reverts commit 82486aa6f1b9bc8145e6d0fa2bc0b44307f3b875.
As implemented, this causes dangling netdevice refs.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/route.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h index 4335eb72a04c..2cc0e14c6359 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -69,7 +69,6 @@ struct rtable { struct list_head rt_uncached; struct uncached_list *rt_uncached_list; - struct fib_info *fi; /* for refcnt to shared metrics */ }; static inline bool rt_is_input_route(const struct rtable *rt) |