Re: ip_input() in pr_input style

2017-05-30 Thread Martin Pieuchot
On 30/05/17(Tue) 11:40, Alexander Bluhm wrote: > On Tue, May 30, 2017 at 08:45:53AM +0200, Martin Pieuchot wrote: > > On 29/05/17(Mon) 23:45, Alexander Bluhm wrote: > > > Hi, > > > > > > Convert ip_input(), ip_our(), ip_deliver() functions to pr_input > > > parameter passing and protocol return st

Re: ip_input() in pr_input style

2017-05-30 Thread Alexander Bluhm
On Tue, May 30, 2017 at 08:45:53AM +0200, Martin Pieuchot wrote: > On 29/05/17(Mon) 23:45, Alexander Bluhm wrote: > > Hi, > > > > Convert ip_input(), ip_our(), ip_deliver() functions to pr_input > > parameter passing and protocol return style. Reset mp to NULL in > > a few places to fail at mbuf

Re: ip_input() in pr_input style

2017-05-29 Thread Martin Pieuchot
On 29/05/17(Mon) 23:45, Alexander Bluhm wrote: > Hi, > > Convert ip_input(), ip_our(), ip_deliver() functions to pr_input > parameter passing and protocol return style. Reset mp to NULL in > a few places to fail at mbuf use after free. Rename ipv4_input() > to ip_input(). > > Goal is to prepare

ip_input() in pr_input style

2017-05-29 Thread Alexander Bluhm
Hi, Convert ip_input(), ip_our(), ip_deliver() functions to pr_input parameter passing and protocol return style. Reset mp to NULL in a few places to fail at mbuf use after free. Rename ipv4_input() to ip_input(). Goal is to prepare the code that both mpi@'s and bluhm@'s diff apply. ok? bluhm