Skip to content

Commit

Permalink
netns: Merge pull request #1128 from zhouliang-eswin/master
Browse files Browse the repository at this point in the history
Fix "failed to open netns" error in RISCV64.

Bug-Url: #1128
  • Loading branch information
svinota authored Oct 27, 2023
2 parents d25d27d + f0df9a4 commit 655ac2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyroute2/netns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
'ppc6': {'64bit': 350},
's390': {'64bit': 339},
'loongarch64': {'64bit': 268},
'risc': {'64bit': 268},
}
__NR_setns = __NR.get(config.machine[:4], {}).get(config.arch, 308)

Expand Down

0 comments on commit 655ac2e

Please sign in to comment.