Re: MPLS: mpls_do_error() cleanup

2018-12-25 Thread Denis Fondras
On Tue, Dec 25, 2018 at 06:47:27PM -0200, Martin Pieuchot wrote: > > Index: netinet/ip_icmp.c > > === > > RCS file: /cvs/src/sys/netinet/ip_icmp.c,v > > retrieving revision 1.181 > > diff -u -p -r1.181 ip_icmp.c > > --- netinet/ip_icmp

Re: MPLS: mpls_do_error() cleanup

2018-12-25 Thread Martin Pieuchot
On 25/12/18(Tue) 21:16, Denis Fondras wrote: > On Mon, Dec 24, 2018 at 08:43:10PM -0200, Martin Pieuchot wrote: > > It would be great if you could think the IPv4 version as well to take > > a 'struct sockaddr' argument instead of a `struct in_ifaddr'. > > > > Here is a diff to convert "struct in_

MPLS: mpls_do_error() cleanup

2018-12-25 Thread Denis Fondras
On Mon, Dec 24, 2018 at 08:43:10PM -0200, Martin Pieuchot wrote: > It would be great if you could think the IPv4 version as well to take > a 'struct sockaddr' argument instead of a `struct in_ifaddr'. > Here is a diff to convert "struct in_ifaddr" to "struct sockaddr" Index: netinet/ip_icmp.c ==