]> git.baikalelectronics.ru Git - kernel.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)
commitc31505ec336538ceb79c091495cded495d41b787
treed8a1606d52ed328fce58ba94b420998998d9863f
parent0e39a9591b34b7bd713c848dfc94b12ee0b36867
net: illegal_highdma() fix

Followup to commit 71e10c4051304ea2142173a56bd7fe8eb6d546f8
(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