Re: bug: tpacket_snd can cause data corruption

2019-07-05 Thread Frank de Brabander
On 05-07-19 00:59, Willem de Bruijn wrote: Can you reproduce the issue when running the modified test in a network namespace (./in_netns.sh ./txring_overwrite)? But even when running the test with ./in_netns.sh it shows "wrong pattern", this time without length mismatches: wrong pattern: 0x62

Re: bug: tpacket_snd can cause data corruption

2019-07-04 Thread Willem de Bruijn
> > Can you reproduce the issue when running the modified test in a > > network namespace (./in_netns.sh ./txring_overwrite)? > But even when running the test with ./in_netns.sh it shows > "wrong pattern", this time without length mismatches: > > wrong pattern: 0x62 != 0x61 > wrong pattern: 0x62 !

Re: bug: tpacket_snd can cause data corruption

2019-07-04 Thread Frank de Brabander
On 03-07-19 18:07, Willem de Bruijn wrote: On Wed, Jul 3, 2019 at 7:08 AM Frank de Brabander wrote: In commit 5cd8d46e a fix was applied for data corruption in tpacket_snd. A selftest was added in commit 358be656 which validates this fix. Unfortunately this bug still persists, although since

Re: bug: tpacket_snd can cause data corruption

2019-07-03 Thread Willem de Bruijn
On Wed, Jul 3, 2019 at 7:08 AM Frank de Brabander wrote: > > In commit 5cd8d46e a fix was applied for data corruption in > tpacket_snd. A selftest was added in commit 358be656 which > validates this fix. > > Unfortunately this bug still persists, although since this fix less > likely to trigger. T

bug: tpacket_snd can cause data corruption

2019-07-03 Thread Frank de Brabander
In commit 5cd8d46e a fix was applied for data corruption in tpacket_snd. A selftest was added in commit 358be656 which validates this fix. Unfortunately this bug still persists, although since this fix less likely to trigger. This bug was initially observed using a PACKET_MMAP application, but can