Re: [PATCH net-next 1/1] driver: ipvlan: Add the sanity check for ipvlan mode

2016-11-28 Thread Feng Gao
Hi David & Mahesh, On Tue, Nov 29, 2016 at 4:08 AM, David Miller wrote: > From: Mahesh Bandewar (महेश बंडेवार) > Date: Mon, 28 Nov 2016 11:02:45 -0800 > >> On Mon, Nov 28, 2016 at 5:23 AM, wrote: >> >>> From: Gao Feng

Re: [PATCH net-next 1/1] driver: ipvlan: Add the sanity check for ipvlan mode

2016-11-28 Thread David Miller
From: Mahesh Bandewar (महेश बंडेवार) Date: Mon, 28 Nov 2016 11:02:45 -0800 > On Mon, Nov 28, 2016 at 5:23 AM, wrote: > >> From: Gao Feng >> >> The ipvlan mode variable "nval" is from userspace, so the ipvlan codes >> should check if the

Re: [PATCH net-next 1/1] driver: ipvlan: Add the sanity check for ipvlan mode

2016-11-28 Thread महेश बंडेवार
On Mon, Nov 28, 2016 at 5:23 AM, wrote: > From: Gao Feng > > The ipvlan mode variable "nval" is from userspace, so the ipvlan codes > should check if the mode variable "nval" is valid. > > Signed-off-by: Gao Feng > --- >

[PATCH net-next 1/1] driver: ipvlan: Add the sanity check for ipvlan mode

2016-11-28 Thread fgao
From: Gao Feng The ipvlan mode variable "nval" is from userspace, so the ipvlan codes should check if the mode variable "nval" is valid. Signed-off-by: Gao Feng --- drivers/net/ipvlan/ipvlan_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git