flow_dissector: Use same pointer for IPv4 and IPv6 addresses
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 24 Feb 2016 17:29:57 +0000 (09:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:58:05 +0000 (13:58 -0500)
commitb3c3106ce3f4646a008cd238b16f899ae14fd2a7
tree25b4f1cd39fd98817c1cee315e51baae5b4a5930
parent224516b3a798a0563346748744f8cd19feaf09be
flow_dissector: Use same pointer for IPv4 and IPv6 addresses

The IPv6 parsing was using a local pointer when it could use the same
pointer as the IPv4 portion of the code since the key_addrs can support
both IPv4 and IPv6 as it is just a pointer.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c