]> git.karo-electronics.de Git - karo-tx-linux.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:07 +0000 (15:35 -0400)
commit0dc7814d12a5bdf6648edd635d5f52f50f0ca04b
tree3bf29ec6ef21c406e546cd702d9f9b5ee6852861
parent695ef896f612667d70df4f837e2f110e079eaa68
atm: br2684: Fix oops due to skb->dev being NULL

commit fbe5e29ec1886967255e76946aaf537b8cc9b81e upstream.

This oops have been already fixed with commit

    27141666b69f535a4d63d7bc6d9e84ee5032f82a

    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

    b6211ae7f2e56837c6a4849316396d1535606e90

    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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/atm/br2684.c