Re: [PATCH net-next] net: diag: make udp_diag_destroy work for mapped addresses.

2016-09-07 Thread David Ahern
On 9/6/16 10:38 PM, Lorenzo Colitti wrote: > udp_diag_destroy does look up the IPv4 UDP hashtable for mapped > addresses, but it gets the IPv4 address to look up from the > beginning of the IPv6 address instead of the end. > > Tested: https://android-review.googlesource.com/269874 > Fixes: 5d77dca

Re: [PATCH net-next] net: diag: make udp_diag_destroy work for mapped addresses.

2016-09-07 Thread Eric Dumazet
On Wed, 2016-09-07 at 13:38 +0900, Lorenzo Colitti wrote: > udp_diag_destroy does look up the IPv4 UDP hashtable for mapped > addresses, but it gets the IPv4 address to look up from the > beginning of the IPv6 address instead of the end. > > Tested: https://android-review.googlesource.com/269874 >

[PATCH net-next] net: diag: make udp_diag_destroy work for mapped addresses.

2016-09-06 Thread Lorenzo Colitti
udp_diag_destroy does look up the IPv4 UDP hashtable for mapped addresses, but it gets the IPv4 address to look up from the beginning of the IPv6 address instead of the end. Tested: https://android-review.googlesource.com/269874 Fixes: 5d77dca82839 ("net: diag: support SOCK_DESTROY for UDP sockets