Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-28 Thread David Ahern
On 12/27/16 12:03 PM, David Miller wrote: > From: Wei Zhang > Date: Tue, 27 Dec 2016 17:52:24 +0800 > >> When we send a packet for our own local address on a non-loopback >> interface (e.g. eth0), due to the change had been introduced from >> commit 0b922b7a829c ("net:

Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-28 Thread David Ahern
On 12/27/16 12:03 PM, David Miller wrote: > From: Wei Zhang > Date: Tue, 27 Dec 2016 17:52:24 +0800 > >> When we send a packet for our own local address on a non-loopback >> interface (e.g. eth0), due to the change had been introduced from >> commit 0b922b7a829c ("net: original ingress device

Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread David Miller
From: Wei Zhang Date: Tue, 27 Dec 2016 17:52:24 +0800 > When we send a packet for our own local address on a non-loopback > interface (e.g. eth0), due to the change had been introduced from > commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the > original

Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread David Miller
From: Wei Zhang Date: Tue, 27 Dec 2016 17:52:24 +0800 > When we send a packet for our own local address on a non-loopback > interface (e.g. eth0), due to the change had been introduced from > commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the > original ingress device

Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread Sergei Shtylyov
Hello! On 12/27/2016 10:52 AM, Wei Zhang wrote: When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be

Re: [PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread Sergei Shtylyov
Hello! On 12/27/2016 10:52 AM, Wei Zhang wrote: When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be

[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread Wei Zhang
When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be set as the loopback interface. However, the packet

[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread Wei Zhang
When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be set as the loopback interface. However, the packet

Re:[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread wei zhang
At 2016-12-27 15:52:18, "Wei Zhang" wrote: >When we send a packet for our own local address on a non-loopback interface >(e.g. eth0), due to the change had been introduced from commit 0b922b7a829c >("net: original ingress device index in PKTINFO"), the original ingress >device

Re:[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-27 Thread wei zhang
At 2016-12-27 15:52:18, "Wei Zhang" wrote: >When we send a packet for our own local address on a non-loopback interface >(e.g. eth0), due to the change had been introduced from commit 0b922b7a829c >("net: original ingress device index in PKTINFO"), the original ingress >device index would be set

[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-26 Thread Wei Zhang
When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be set as the loopback interface. However, the packet

[PATCH] net: fix incorrect original ingress device index in PKTINFO

2016-12-26 Thread Wei Zhang
When we send a packet for our own local address on a non-loopback interface (e.g. eth0), due to the change had been introduced from commit 0b922b7a829c ("net: original ingress device index in PKTINFO"), the original ingress device index would be set as the loopback interface. However, the packet