diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-11-03 17:25:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-07 19:14:34 +0100 |
commit | cd2c0f454039ad303b54653c56ebc22ffd856200 (patch) | |
tree | 216cbe13e0e0bc29cd18c40203979e885153d4e2 /include/net/ip.h | |
parent | Merge branch 'ns2-amac' (diff) | |
download | linux-cd2c0f454039ad303b54653c56ebc22ffd856200.tar.xz linux-cd2c0f454039ad303b54653c56ebc22ffd856200.zip |
net: Update raw socket bind to consider l3 domain
Binding a raw socket to a local address fails if the socket is bound
to an L3 domain:
$ vrf-test -s -l 10.100.1.2 -R -I red
error binding socket: 99: Cannot assign requested address
Update raw_bind to look consider if sk_bound_dev_if is bound to an L3
domain and use inet_addr_type_table to lookup the address.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions