diff options
author | Davide Caratti <[email protected]> | 2021-03-15 11:41:16 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-03-15 16:43:01 -0700 |
commit | 13832ae2755395b2585500c85b64f5109a44227e (patch) | |
tree | 41bb2eba0204c32cd1a198d3e9bf8b5023473371 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7233da86697efef41288f8b713c10c2499cffe85 (diff) |
mptcp: fix ADD_ADDR HMAC in case port is specified
Currently, Linux computes the HMAC contained in ADD_ADDR sub-option using
the Address Id and the IP Address, and hardcodes a destination port equal
to zero. This is not ok for ADD_ADDR with port: ensure to account for the
endpoint port when computing the HMAC, in compliance with RFC8684 ยง3.4.1.
Fixes: 22fb85ffaefb ("mptcp: add port support for ADD_ADDR suboption writing")
Reviewed-by: Mat Martineau <[email protected]>
Acked-by: Geliang Tang <[email protected]>
Signed-off-by: Davide Caratti <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions