Hi,

I'm optimistic about this patch: where previously running traffic
through this router over gif
tunnels would result in memory exhaustion, the problem now seems gone.
memory graph: http://instituut.net/~job/screenshots/ee7f0fa5304032a2.png

Should perhaps an errata / syspatch blob be prepared for the 6.3 users
that rely on gif(4)?
I can attempt to create one for amd64.

Kind regards,

Job

On Thu, Apr 5, 2018 at 2:38 PM, Alexander Bluhm <alexander.bl...@gmx.net> wrote:
> OK bluhm@
>
> On Thu, Apr 05, 2018 at 09:14:32AM +1000, David Gwynne wrote:
>> Index: if_gif.c
>> ===================================================================
>> RCS file: /cvs/src/sys/net/if_gif.c,v
>> retrieving revision 1.113
>> diff -u -p -r1.113 if_gif.c
>> --- if_gif.c  15 Mar 2018 21:01:18 -0000      1.113
>> +++ if_gif.c  4 Apr 2018 23:12:02 -0000
>> @@ -403,6 +403,8 @@ gif_output(struct ifnet *ifp, struct mbu
>>               error = ENOBUFS;
>>               goto drop;
>>       }
>> +     memcpy((caddr_t)(mtag + 1), &ifp->if_index, sizeof(ifp->if_index));
>> +     m_tag_prepend(m, mtag);
>>
>>       m->m_pkthdr.ph_family = dst->sa_family;
>>
>

Reply via email to