]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: illegal_highdma() fix
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 2 Apr 2010 20:34:49 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 20:34:49 +0000 (13:34 -0700)
commit9092c658bab215b2752fa59d2a36c05b74d1e9e9
treed8a1606d52ed328fce58ba94b420998998d9863f
parentba343c7736b36d62d276e20383588bcf9403d6c6
net: illegal_highdma() fix

Followup to commit 5acbbd428db47b12f137a8a2aa96b3c0a96b744e
(net: change illegal_highdma to use dma_mask)

If dev->dev.parent is NULL, we should not try to dereference it.

Dont force inline illegal_highdma() as its pretty big now.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c