diff options
| author | Matt Johnston <[email protected]> | 2025-07-10 08:55:56 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-07-15 10:08:39 +0000 |
| commit | 5000268c298219396cc01b8c3363a578cd168085 (patch) | |
| tree | f9fbfa505c4e74d1f26cc0d30c147cff1f2740fa /net/mctp/test/utils.h | |
| parent | net: mctp: Prevent duplicate binds (diff) | |
| download | kernel-5000268c298219396cc01b8c3363a578cd168085.tar.gz kernel-5000268c298219396cc01b8c3363a578cd168085.zip | |
net: mctp: Treat MCTP_NET_ANY specially in bind()
When a specific EID is passed as a bind address, it only makes sense to
interpret with an actual network ID, so resolve that to the default
network at bind time.
For bind address of MCTP_ADDR_ANY, we want to be able to capture traffic
to any network and address, so keep the current behaviour of matching
traffic from any network interface (don't interpret MCTP_NET_ANY as
the default network ID).
Signed-off-by: Matt Johnston <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/mctp/test/utils.h')
0 files changed, 0 insertions, 0 deletions
