]> git.baikalelectronics.ru Git - kernel.git/commit
ila: xlat changes
authorTom Herbert <tom@herbertland.com>
Sat, 23 Apr 2016 18:46:56 +0000 (11:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 05:26:04 +0000 (01:26 -0400)
commit689a32b4480b2185ed996b0d9efc6e074eca28fb
treedd683ae12ceeb58b32b3004d48e7038cfe639c14
parenta757c03fb3bf2f1315be4f493c277f1ed7995b20
ila: xlat changes

Change model of xlat to be used only for input where lookup is done on
the locator part of an address (comparing to locator_match as key
in rhashtable). This is needed for checksum neutral translation
which obfuscates the low order 16 bits of the identifier. It also
permits hosts to be in muliple ILA domains (each locator can map
to a different SIR address). A check is also added to disallow
translating non-ILA addresses (check of type in identifier).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ila/ila_xlat.c