inet: rename netns_frags to fqdir
1) struct netns_frags is renamed to struct fqdir This structure is really holding many frag queues in a hash table. 2) (struct inet_frag_queue)->net field is renamed to fqdir since net is generally associated to a 'struct net' pointer in networking stack. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -139,7 +139,7 @@ static int lowpan_frag_queue(struct lowpan_frag_queue *fq,
|
||||
fq->q.flags |= INET_FRAG_FIRST_IN;
|
||||
|
||||
fq->q.meat += skb->len;
|
||||
add_frag_mem_limit(fq->q.net, skb->truesize);
|
||||
add_frag_mem_limit(fq->q.fqdir, skb->truesize);
|
||||
|
||||
if (fq->q.flags == (INET_FRAG_FIRST_IN | INET_FRAG_LAST_IN) &&
|
||||
fq->q.meat == fq->q.len) {
|
||||
|
在新工单中引用
屏蔽一个用户