[PATCH] sctp: set the value of flowi6_oif to sk_bound_dev_if to make sctp_v6_get_dst to find the correct route entry.

2017-07-06 Thread Zheng Li
From: Zheng Li if there are several same route entries with different outgoing net device, application's socket specifies the oif through setsockopt with SO_BINDTODEVICE, sctpv6 should choose the route entry whose outgoing net device is the oif which was specified by socket, set the val

[PATCH] ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output

2016-12-28 Thread Zheng Li
From: Zheng Li There is an inconsistent conditional judgement between __ip6_append_data and ip6_finish_output functions, the variable length in __ip6_append_data just include the length of application's payload and udp6 header, don't include the length of ipv6 header, but in ip6_fin

[PATCH v2] ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output

2016-12-11 Thread Zheng Li
From: zheng li There is an inconsistent conditional judgement in __ip_append_data and ip_finish_output functions, the variable length in __ip_append_data just include the length of application's payload and udp header, don't include the length of ip header, but in ip_finish_output use

[PATCH] ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output

2016-12-08 Thread Zheng Li
From: zheng li There is an inconsitent conditional judgement in __ip_append_data and ip_finish_output functions, the variable length in __ip_append_data just include the length of applicatoin's payload and udp header, don't include the length of ip header, but in ip_finish_output use

[PATCH v3] bonding: Inactive slaves should keep inactive flag's value

2014-04-01 Thread Zheng Li
ackets and pass them to bridge that cause dom0's bridge map domu's MAC address to port of bond, bridge should map domu's MAC to port of vif. Signed-off-by: Zheng Li Signed-off-by: Jay Vosburgh --- drivers/net/bonding/bond_main.c |2 +- 1 files changed, 1 insertions(+), 1 dele

[PATCH v2] bonding: Inactive slaves should keep inactive flag's value

2014-04-01 Thread Zheng Li
ackets and pass them to bridge that cause dom0's bridge map domu's MAC address to port of bond, bridge should map domu's MAC to port of vif. Signed-off-by: Zheng Li Signed-off-by: Jay Vosburgh --- drivers/net/bonding/bond_main.c |2 +- 1 files changed, 1 insertions(+), 1 dele

[PATCH] bonding: Inactive slaves should keep inactive flag's value to 1

2014-03-28 Thread Zheng Li
ve flag is zero, kernel will receive the packets and pass them to bridge that cause dom0's bridge map domu's MAC address to port of bond, bridge should map domu's MAC to port of vif. Signed-off-by: Zheng Li --- drivers/net/bonding/bond_main.c |2 +- 1 files changed, 1 insertions(

[PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-24 Thread Zheng Li
nactive flag is zero, kernel will receive the packets and pass them to bridge, that cause dom0's bridge map domu's MAC address to port of bond, bridge should map domu's MAC to port of vif. Signed-off-by: Zheng Li --- drivers/net/bonding/bond_main.c |2 +- 1 files changed

[PATCH] bonding: Inactive slaves should keep inactive flag's value to 1.

2014-03-20 Thread Zheng Li
ve slave's inactive flag is zero, kernel will receive the packets and pass them to bridge, that cause dom0's bridge map domu's MAC address to port of bond, bridge should map domu's MAC to port of vif. Signed-off-by: Zheng Li --- drivers/net/bonding/bond_main.c |2 +- 1 fil

[PATCH] bonding: rlb mode of bond should not alter ARP originating via bridge

2012-11-28 Thread Zheng Li
. Signed-off-by: Zheng Li Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: "David S. Miller" --- drivers/net/bonding/bond_alb.c |6 ++ drivers/net/bonding/bonding.h | 13 + 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/net/bonding/bond_alb.c b/d

[PATCH] bonding: rlb mode of bond should not alter ARP originating via bridge

2012-11-15 Thread Zheng Li
ARP traffic passing through a bridge and out via the bond (when the bond is a port of the bridge) should not have its source MAC address adjusted by the receive load balance code in rlb_arp_xmit. Signed-off-by: Zheng Li Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: "David S. M

[PATCH] bonding: rlb mode of bond should not alter ARP replies originating via bridge

2012-11-12 Thread Zheng Li
ARP traffic passing through a bridge and out via the bond (when the bond is a port of the bridge) should not have its source MAC address adjusted by the receive load balance code in rlb_arp_xmit. Signed-off-by: Zheng Li Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: "David S. M

[PATCH] bonding: rlb mode of bond should not alter ARP replies originating via bridge

2012-11-06 Thread Zheng Li
ARP traffic passing through a bridge and out via the bond (when the bond is a port of the bridge) should not have its source MAC address adjusted by the receive load balance code in rlb_arp_xmit. Signed-off-by: Zheng Li Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: "David S. M

[PATCH] bonding: fix bond 6 mode change MAC of arp reply from vif to cause Domu's network unreachable intermittently

2012-10-29 Thread Zheng Li
ond of alb replace Domu's MAC in arp reply with NIC's MAC address, that will cause remote host send packets to Domu using real NIC's MAC instead of Domu's MAC. Domu can't receive the packets whose dst MAC is not Domu's MAC. Cc: Jay Vosburgh Cc: Andy Gospodarek Cc: &q