Commit adfc631
committed
Fix compilation for 5.9: workaround ref_module unexport
compat.h:173:21: error: implicit declaration of function ‘ref_module’ [-Werror=implicit-function-declaration]
# define use_module ref_module
^
ipt_NETFLOW.c:5488:3: note: in expansion of macro ‘use_module’
use_module(THIS_MODULE, netlink_m);
^~~~~~~~~~
Fixes #153.
Reported-by: https://github.com/rcmcronny1 parent 1153f73 commit adfc631
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5459 | 5459 | | |
5460 | 5460 | | |
5461 | 5461 | | |
| 5462 | + | |
5462 | 5463 | | |
5463 | 5464 | | |
5464 | 5465 | | |
5465 | 5466 | | |
5466 | 5467 | | |
5467 | | - | |
5468 | | - | |
5469 | 5468 | | |
5470 | 5469 | | |
5471 | 5470 | | |
| |||
5478 | 5477 | | |
5479 | 5478 | | |
5480 | 5479 | | |
5481 | | - | |
| 5480 | + | |
5482 | 5481 | | |
5483 | 5482 | | |
| 5483 | + | |
5484 | 5484 | | |
5485 | 5485 | | |
5486 | | - | |
5487 | | - | |
| 5486 | + | |
| 5487 | + | |
5488 | 5488 | | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
5489 | 5493 | | |
5490 | 5494 | | |
5491 | 5495 | | |
| |||
5513 | 5517 | | |
5514 | 5518 | | |
5515 | 5519 | | |
| 5520 | + | |
| 5521 | + | |
| 5522 | + | |
| 5523 | + | |
5516 | 5524 | | |
5517 | 5525 | | |
5518 | 5526 | | |
| |||
0 commit comments