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:
Amerigo Wang 2012-09-18 16:50:10 +00:00 • committed by David S. Miller
commit d4915c087f
2 changed files with 11 additions and 12 deletions

View file

@ -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);