Skip to content
Commit e72ccc1d authored by Pavel Tikhomirov's avatar Pavel Tikhomirov Committed by Pavel Emelyanov
Browse files

zdtm: reset file position to the begginning of the file in netns-dev



writing to netdev configuration at non zero offset won't be supported:

```
[  301.431638] netns-dev wrote to accept_local when file position was
not 0! This will not be supported in the future. To silence this
warning, set kernel.sysctl_writes_strict = -1
```

v2: fix compilation

Sorry, please don't consider v1.

Signed-off-by: default avatarPavel Tikhomirov <ptikhomirov@odin.com>
Acked-by: default avatarAndrew Vagin <avagin@odin.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 28b88310
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment