Commit 6d2188f
[PATCH] [IPG]: handle pktgen setup in newer kernels.
Only load modules if kernel supports modules and try a little bit
harder to locate the pg directory in /proc with newer kernels.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>1 parent 75add97 commit 6d2188f
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
7 | 18 | | |
8 | | - | |
| 19 | + | |
9 | 20 | | |
10 | | - | |
| 21 | + | |
11 | 22 | | |
12 | | - | |
| 23 | + | |
13 | 24 | | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
17 | | - | |
18 | | - | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| |||
0 commit comments