diff options
Diffstat (limited to 'net/ipv4/ipip.c')
-rw-r--r-- | net/ipv4/ipip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index dbaed69de06a..894bce96284a 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -528,7 +528,7 @@ static int ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) | |||
528 | 528 | ||
529 | if (!dst) { | 529 | if (!dst) { |
530 | /* NBMA tunnel */ | 530 | /* NBMA tunnel */ |
531 | if ((rt = (struct rtable*)skb->dst) == NULL) { | 531 | if ((rt = skb->rtable) == NULL) { |
532 | tunnel->stat.tx_fifo_errors++; | 532 | tunnel->stat.tx_fifo_errors++; |
533 | goto tx_error; | 533 | goto tx_error; |
534 | } | 534 | } |