diff --git a/drivers/net/tun.c b/drivers/net/tun.c index cc6c50180663..a3bf26e90852 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1875,6 +1875,9 @@ static ssize_t tun_get_user(struct tun_struct                                 local_bh_enable();                                 goto unlock_frags;                         } + +                       if (skb != tfile->napi.skb) +                               tfile->napi.skb = skb;                 }                 rcu_read_unlock();                 local_bh_enable();