-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndpi-netfilter: bump to nDPI v0.4.9 at 101242023
- Loading branch information
1 parent
958ef52
commit eb30c9f
Showing
3 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 13 additions & 4 deletions
17
packages/net/ndpi-netfilter/patches/0002-skbuff-check_fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/net/ndpi-netfilter/patches/0003-fix-build-murmurhash.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- a/src/lib/third_party/src/hll/MurmurHash3.c | ||
+++ b/src/lib/third_party/src/hll/MurmurHash3.c | ||
@@ -44,15 +44,18 @@ u_int32_t MurmurHash(const void *key, u_ | ||
case 3: | ||
k1 ^= (u_int32_t)tail[2] << 16; | ||
/* fall-through */ | ||
+ break; | ||
case 2: | ||
k1 ^= (u_int32_t)tail[1] << 8; | ||
/* fall-through */ | ||
+ break; | ||
case 1: | ||
k1 ^= tail[0]; | ||
k1 *= c1; | ||
k1 = ROTL32(k1, 15); | ||
k1 *= c2; | ||
h1 ^= k1; | ||
+ break; | ||
}; | ||
|
||
h1 ^= len; |