Re: [PATCH/RFC] tun: defer skb_orphan() to tun_do_read()

2019-03-05 Thread Jason Wang
On 2019/3/6 上午5:33, Willem de Bruijn wrote: On Tue, Mar 5, 2019 at 4:03 PM Arthur Kepner wrote: The attachment contains an UNTESTED patch (though a similar patch was tested with a 3.10 kernel). We've been chasing a bug where packet corruption is seen on a tap device. We have a PACKET_MMAP

Re: [PATCH/RFC] tun: defer skb_orphan() to tun_do_read()

2019-03-05 Thread Willem de Bruijn
On Tue, Mar 5, 2019 at 4:03 PM Arthur Kepner wrote: > > > The attachment contains an UNTESTED patch (though a similar patch was tested > with a > 3.10 kernel). > > We've been chasing a bug where packet corruption is seen on a tap device. We > have a > PACKET_MMAP socket which is bound to a tap i

[PATCH/RFC] tun: defer skb_orphan() to tun_do_read()

2019-03-05 Thread Arthur Kepner
The attachment contains an UNTESTED patch (though a similar patch was tested with a 3.10 kernel). We've been chasing a bug where packet corruption is seen on a tap device. We have a PACKET_MMAP socket which is bound to a tap interface. When throughput goes above a threshold, we begin to se