]> git.baikalelectronics.ru Git - kernel.git/commit
atm: br2684: Fix oops due to skb->dev being NULL
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Fri, 19 Aug 2011 12:04:20 +0000 (12:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2011 21:13:05 +0000 (14:13 -0700)
commitb04607e6f4fbf89bbbfd7fe57ff43f250df7ed16
tree29256fddc5970305e8f70b1df36a208deede83dd
parent293b514d893b56349b617de0abf383df05cb887b
atm: br2684: Fix oops due to skb->dev being NULL

This oops have been already fixed with commit

    23bf60d233a92d387de5efadefb9c1cf313bd18f

    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().

but have been introduced again with commit

    ef0e836cc0a6c9bc3adab8345f106499be272fc7

    atm: Use SKB queue and list helpers instead of doing it by-hand.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/br2684.c