Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-03-04 Thread Ding Tianhong
On 2014/3/5 8:10, Ben Hutchings wrote: > On Thu, 2014-02-27 at 19:45 -0800, John Fastabend wrote: >> On 2/27/2014 6:43 PM, Ding Tianhong wrote: >>> I run these steps: >>> >>> modprobe 8021q >>> vconfig add eth2 20 >>> vconfig add eth2.20 20 >>> ifconfig eth2 xx.xx.xx.xx >>> >>> then the Call Trace

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-03-04 Thread Ben Hutchings
On Thu, 2014-02-27 at 19:45 -0800, John Fastabend wrote: > On 2/27/2014 6:43 PM, Ding Tianhong wrote: > > I run these steps: > > > > modprobe 8021q > > vconfig add eth2 20 > > vconfig add eth2.20 20 > > ifconfig eth2 xx.xx.xx.xx > > > > then the Call Trace happened: > > > > [...] > > > ==

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
On 2014/2/28 13:41, Florian Fainelli wrote: > 2014-02-27 21:26 GMT-08:00 Ding Tianhong : >> On 2014/2/28 11:45, John Fastabend wrote: >>> On 2/27/2014 6:43 PM, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig et

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Florian Fainelli
2014-02-27 21:26 GMT-08:00 Ding Tianhong : > On 2014/2/28 11:45, John Fastabend wrote: >> On 2/27/2014 6:43 PM, Ding Tianhong wrote: >>> I run these steps: >>> >>> modprobe 8021q >>> vconfig add eth2 20 >>> vconfig add eth2.20 20 >>> ifconfig eth2 xx.xx.xx.xx >>> >>> then the Call Trace happened: >

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
On 2014/2/28 11:45, John Fastabend wrote: > On 2/27/2014 6:43 PM, Ding Tianhong wrote: >> I run these steps: >> >> modprobe 8021q >> vconfig add eth2 20 >> vconfig add eth2.20 20 >> ifconfig eth2 xx.xx.xx.xx >> >> then the Call Trace happened: >> > > [...] > >> ===

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread John Fastabend
On 2/27/2014 6:43 PM, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2 xx.xx.xx.xx then the Call Trace happened: [...] The reason is that if add vlan on

[PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2 xx.xx.xx.xx then the Call Trace happened: [32524.386288] = [32524.386293] [ INFO: possible recursive locking detected ] [32524.386298] 3.14.0-rc2-0.7-default+ #3