aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 027b06170b40..4a144e8d0538 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -738,7 +738,7 @@ static inline void skb_queue_splice(const struct sk_buff_head *list,
738{ 738{
739 if (!skb_queue_empty(list)) { 739 if (!skb_queue_empty(list)) {
740 __skb_queue_splice(list, (struct sk_buff *) head, head->next); 740 __skb_queue_splice(list, (struct sk_buff *) head, head->next);
741 head->qlen = list->qlen; 741 head->qlen += list->qlen;
742 } 742 }
743} 743}
744 744
@@ -754,7 +754,7 @@ static inline void skb_queue_splice_init(struct sk_buff_head *list,
754{ 754{
755 if (!skb_queue_empty(list)) { 755 if (!skb_queue_empty(list)) {
756 __skb_queue_splice(list, (struct sk_buff *) head, head->next); 756 __skb_queue_splice(list, (struct sk_buff *) head, head->next);
757 head->qlen = list->qlen; 757 head->qlen += list->qlen;
758 __skb_queue_head_init(list); 758 __skb_queue_head_init(list);
759 } 759 }
760} 760}
@@ -769,7 +769,7 @@ static inline void skb_queue_splice_tail(const struct sk_buff_head *list,
769{ 769{
770 if (!skb_queue_empty(list)) { 770 if (!skb_queue_empty(list)) {
771 __skb_queue_splice(list, head->prev, (struct sk_buff *) head); 771 __skb_queue_splice(list, head->prev, (struct sk_buff *) head);
772 head->qlen = list->qlen; 772 head->qlen += list->qlen;
773 } 773 }
774} 774}
775 775
@@ -786,7 +786,7 @@ static inline void skb_queue_splice_tail_init(struct sk_buff_head *list,
786{ 786{
787 if (!skb_queue_empty(list)) { 787 if (!skb_queue_empty(list)) {
788 __skb_queue_splice(list, head->prev, (struct sk_buff *) head); 788 __skb_queue_splice(list, head->prev, (struct sk_buff *) head);
789 head->qlen = list->qlen; 789 head->qlen += list->qlen;
790 __skb_queue_head_init(list); 790 __skb_queue_head_init(list);
791 } 791 }
792} 792}