diff options
| author | Xin Long <[email protected]> | 2022-11-16 20:01:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-11-18 11:42:54 +0000 |
| commit | f87b1ac06c887210782eab9f105ffd9045be74cc (patch) | |
| tree | c78801562f90f7e6d9c91db8929471a0901fb1ea /net/sctp/protocol.c | |
| parent | sctp: check ipv6 addr with sk_bound_dev if set (diff) | |
| download | kernel-f87b1ac06c887210782eab9f105ffd9045be74cc.tar.gz kernel-f87b1ac06c887210782eab9f105ffd9045be74cc.zip | |
sctp: check sk_bound_dev_if when matching ep in get_port
In sctp_get_port_local(), when binding to IP and PORT, it should
also check sk_bound_dev_if to match listening sk if it's set by
SO_BINDTOIFINDEX, so that multiple sockets with the same IP and
PORT, but different sk_bound_dev_if can be listened at the same
time.
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions
