mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
ipv4: ipmr: convert struct mfc_cache to struct list_head
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d658f8a0e6
commit
862465f2e7
@@ -191,7 +191,7 @@ struct vif_device {
|
||||
#define VIFF_STATIC 0x8000
|
||||
|
||||
struct mfc_cache {
|
||||
struct mfc_cache *next; /* Next entry on cache line */
|
||||
struct list_head list;
|
||||
__be32 mfc_mcastgrp; /* Group the entry belongs to */
|
||||
__be32 mfc_origin; /* Source of packet */
|
||||
vifi_t mfc_parent; /* Source interface */
|
||||
|
||||
@@ -61,8 +61,8 @@ struct netns_ipv4 {
|
||||
#ifdef CONFIG_IP_MROUTE
|
||||
struct sock *mroute_sk;
|
||||
struct timer_list ipmr_expire_timer;
|
||||
struct mfc_cache *mfc_unres_queue;
|
||||
struct mfc_cache **mfc_cache_array;
|
||||
struct list_head mfc_unres_queue;
|
||||
struct list_head *mfc_cache_array;
|
||||
struct vif_device *vif_table;
|
||||
int maxvif;
|
||||
atomic_t cache_resolve_queue_len;
|
||||
|
||||
Reference in New Issue
Block a user