Commit 7821618
committed
netfilter: ctnetlink: use helper function to calculate expect ID
Delete expectation path is missing a call to the nf_expect_get_id()
helper function to calculate the expectation ID, otherwise LSB of the
expectation object address is leaked to userspace.
Fixes: 3c79107 ("netfilter: ctnetlink: don't use conntrack/expect object addresses as id")
Reported-by: [email protected]
Signed-off-by: Pablo Neira Ayuso <[email protected]>1 parent 0e03c64 commit 7821618
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
3423 | | - | |
| 3423 | + | |
| 3424 | + | |
3424 | 3425 | | |
3425 | 3426 | | |
3426 | 3427 | | |
| |||
0 commit comments