mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
4907abc605
Following patch will add rcu grace period before fqdir rhashtable destruction, so we need to dynamically allocate fqdir structures to not force expensive synchronize_rcu() calls in netns dismantle path. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
395 B
C
23 lines
395 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* ieee802154 6lowpan in net namespaces
|
|
*/
|
|
|
|
#include <net/inet_frag.h>
|
|
|
|
#ifndef __NETNS_IEEE802154_6LOWPAN_H__
|
|
#define __NETNS_IEEE802154_6LOWPAN_H__
|
|
|
|
struct netns_sysctl_lowpan {
|
|
#ifdef CONFIG_SYSCTL
|
|
struct ctl_table_header *frags_hdr;
|
|
#endif
|
|
};
|
|
|
|
struct netns_ieee802154_lowpan {
|
|
struct netns_sysctl_lowpan sysctl;
|
|
struct fqdir *fqdir;
|
|
};
|
|
|
|
#endif
|