mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ipv6: make ip6_frag_nqueues() and ip6_frag_mem() static inline
Cc: Herbert Xu <[email protected]> Cc: Michal Kubeček <[email protected]> Cc: David Miller <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
b836c99fd6
commit
d4915c087f
2 changed files with 11 additions and 12 deletions
|
|
@ -67,16 +67,6 @@ struct ip6frag_skb_cb
|
|||
|
||||
static struct inet_frags ip6_frags;
|
||||
|
||||
int ip6_frag_nqueues(struct net *net)
|
||||
{
|
||||
return net->ipv6.frags.nqueues;
|
||||
}
|
||||
|
||||
int ip6_frag_mem(struct net *net)
|
||||
{
|
||||
return atomic_read(&net->ipv6.frags.mem);
|
||||
}
|
||||
|
||||
static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev,
|
||||
struct net_device *dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue