mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00: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>
22 lines
395 B
C
22 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
|