[PATCH v2 net-next] ip6_tunnel: Adding support of mapping rules for MAP-E tunnel

2018-12-02 Thread Felix Jia
packets over an IPv6 network. It requires a list rules for mapping between IPv4 prefix/shared addresses and IPv6 addresses. This patch also supports the mapping rules defined in the draft3 version of the RFC. Co-developed-by: Felix Jia Co-developed-by: Sheena Mira-ato Co-developed-by: Masakazu

[PATCH v1 net-next] ip6_tunnel: Adding support of mapping rules for MAP-E tunnel

2018-11-19 Thread Felix Jia
packets over an IPv6 network. It requires a list rules for mapping between IPv4 prefix/shared addresses and IPv6 addresses. This patch also support the mapping rules define in the draft3 version of the RFC. Co-developed-by: Felix Jia Co-developed-by: Sheena Mira-ato Co-developed-by: Masakazu

[PATCH v1 1/2] ip6_tunnel: Adding support of mapping rules for MAP-E tunnel

2018-11-19 Thread Felix Jia
packets over an IPv6 network. It requires a list rules for mapping between IPv4 prefix/shared addresses and IPv6 addresses. This patch also support the mapping rules define in the draft3 version of the RFC. Co-developed-by: Felix Jia Co-developed-by: Sheena Mira-ato Co-developed-by: Masakazu

[PATCH v1 2/2] netfilter: Add PSID mode to MASQUERADE

2018-11-19 Thread Felix Jia
masquerading and encapsulating IPv4 packets inside an IPv6 carrier. Co-developed-by: Anthony Lineham Co-developed-by: Scott Parlane Signed-off-by: Blair Steven Signed-off-by: Anthony Lineham Signed-off-by: Scott Parlane Signed-off-by: Felix Jia --- include/net/netfilter/nf_nat_l4proto.h| 6

[PATCH net/ipv6] net/ipv6: avoid possible dead locking on addr_gen_mode sysctl

2017-02-26 Thread Felix Jia
The addr_gen_mode variable can be accessed by both sysctl and netlink. Repleacd rtnl_lock() with rtnl_trylock() protect the sysctl operation to avoid the possbile dead lock.` Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> --- net/ipv6/addrconf.c | 22 +++---

[PATCH v4 net-next 1/2] net/ipv6: allow sysctl to change link-local address generation mode

2017-01-25 Thread Felix Jia
-> v4 Removed unnecessary whitespace changes. Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> --- include/linux/ipv6.h | 1 + include/net/if_inet6.h| 1 - include/uapi/linux/ipv6.h | 1 + net/ipv6/addrconf.c | 104 +-

[PATCH v4 net-next 2/2] net/ipv6: support more tunnel interfaces for EUI64 link-local generation

2017-01-25 Thread Felix Jia
Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> --- net/ipv6/addrconf.c | 5 + net/ipv6/ip6_gre.c | 3 +++ net/ipv6/ip6_vti.c | 4 3 files changed, 12 insertions(+) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index e35259dd17ba..4c47656b9f09 100644 --- a/ne

[PATCH v3 net-next 2/2] net/ipv6: support more tunnel interfaces for EUI64 link-local generation

2017-01-19 Thread Felix Jia
Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> --- net/ipv6/addrconf.c | 5 + net/ipv6/ip6_gre.c | 3 +++ net/ipv6/ip6_vti.c | 4 3 files changed, 12 insertions(+) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index e35259dd17ba..4c47656b9f09 100644 --- a/ne

[PATCH v3 net-next 1/2] net/ipv6: allow sysctl to change link-local address generation mode

2017-01-19 Thread Felix Jia
ed-off-by: Felix Jia <felix@alliedtelesis.co.nz> --- include/linux/ipv6.h | 3 +- include/net/if_inet6.h| 5 +-- include/uapi/linux/ipv6.h | 5 ++- net/ipv6/addrconf.c | 104 +- 4 files changed, 91 insertions(+), 26 deletions(-)

[PATCH v2 main-v4.9-rc7] net/ipv6: allow sysctl to change link-local address generation mode

2016-12-04 Thread Felix Jia
the addrgenmode variable from the idev structure and use the systcl storage for the flag. The patch is based from v4.9-rc7 in mainline. Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> Cc: Carl Smith <carl.sm...@alliedtelesis.co.nz> --- include/linux/ipv6.h | 1 + includ

[PATCH main-v4.9-rc7] net/ipv6: allow sysctl to change link-local address generation mode

2016-12-01 Thread Felix Jia
. The patch is based from v4.9-rc7 in mainline. Signed-off-by: Felix Jia <felix@alliedtelesis.co.nz> Cc: Carl Smith <carl.sm...@alliedtelesis.co.nz> --- include/linux/ipv6.h | 1 + include/uapi/linux/ipv6.h | 1 + net/ipv6/addrconf.