diff options
-rw-r--r-- | net/core/skbuff.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 8d43ae6979e5..27cfe5fe4bb9 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -1706,6 +1706,11 @@ next_skb: | |||
1706 | st->stepped_offset += frag->size; | 1706 | st->stepped_offset += frag->size; |
1707 | } | 1707 | } |
1708 | 1708 | ||
1709 | if (st->frag_data) { | ||
1710 | kunmap_skb_frag(st->frag_data); | ||
1711 | st->frag_data = NULL; | ||
1712 | } | ||
1713 | |||
1709 | if (st->cur_skb->next) { | 1714 | if (st->cur_skb->next) { |
1710 | st->cur_skb = st->cur_skb->next; | 1715 | st->cur_skb = st->cur_skb->next; |
1711 | st->frag_idx = 0; | 1716 | st->frag_idx = 0; |