Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Martin Pieuchot
On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > Hi tech@, > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > my sytem if executed. > > As the -carpdev option is undocumented in both ifconfig(8) and carp(4) i > propose two patches to remove this functionality. > > The

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Martin Pieuchot
On 03/01/16(Sun) 14:19, Fabian Raetz wrote: > On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > > Hi tech@, > > > > > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > > > my sytem if executed. > > > >

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > Hi tech@, > > > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > > my sytem if executed. > > > > As the -carpdev option is undocumented in both

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 03:54:16PM +0100, Martin Pieuchot wrote: > On 03/01/16(Sun) 14:19, Fabian Raetz wrote: > > On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > > > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > > > Hi tech@, > > > > > > > > i've found the undocumented

carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2015-12-30 Thread Fabian Raetz
Hi tech@, i've found the undocumented -carpdev option in ifconfig(8) which freezes my sytem if executed. As the -carpdev option is undocumented in both ifconfig(8) and carp(4) i propose two patches to remove this functionality. The patch below will return EINVAL in SIOCSVH if