Re: [ovs-dev] [PATCH ovn] util: Avoid double parsing of LB vip and backend ip

2022-10-18 Thread Ales Musil
On Wed, Oct 19, 2022 at 1:51 AM Numan Siddique wrote: > On Tue, Oct 18, 2022 at 7:23 AM Ales Musil wrote: > > > > The current code was parsing the ip twice, once for > > the "inet_parse_active" and second time by calling > > either "ip_parse" or "ipv6_parse". Avoid that by > > getting the

Re: [ovs-dev] [PATCH ovn] util: Avoid double parsing of LB vip and backend ip

2022-10-18 Thread Numan Siddique
On Tue, Oct 18, 2022 at 7:23 AM Ales Musil wrote: > > The current code was parsing the ip twice, once for > the "inet_parse_active" and second time by calling > either "ip_parse" or "ipv6_parse". Avoid that by > getting the "in6_addr" directly from "sockaddr_storage". > > Signed-off-by: Ales