mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
![Eric Dumazet](/assets/img/avatar_default.png)
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
|