]> git.baikalelectronics.ru Git - kernel.git/commit
atm: [br2684] Fix oops due to skb->dev being NULL
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Tue, 17 Jun 2008 00:15:33 +0000 (17:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:15:33 +0000 (17:15 -0700)
commit23bf60d233a92d387de5efadefb9c1cf313bd18f
treeb1aec050d32e5a2d1d75e8c88b4407c409720a33
parentfb64272ed225156b7e5cb7f628bddd77ef59e9d7
atm: [br2684] Fix oops due to skb->dev being NULL

It happens that if a packet arrives in a VC between the call to open it on
the hardware and the call to change the backend to br2684, br2684_regvcc
processes the packet and oopses dereferencing skb->dev because it is
NULL before the call to br2684_push().

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
net/atm/br2684.c