X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fip_output.c;h=d533a89e08de14d2e7417b41dddcb99d8e9c881b;hb=84ff7a001270258f71d6ab0d164f351e32c9718a;hp=465544f6281afbab2990bc561f946f60ae4615aa;hpb=5e38e270444f2629de7a706b5a9ca1b333d14517;p=linux-2.6 diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 465544f628..d533a89e08 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -118,7 +118,7 @@ static int ip_dev_loopback_xmit(struct sk_buff *newskb) __skb_pull(newskb, skb_network_offset(newskb)); newskb->pkt_type = PACKET_LOOPBACK; newskb->ip_summed = CHECKSUM_UNNECESSARY; - BUG_TRAP(newskb->dst); + WARN_ON(!newskb->dst); netif_rx(newskb); return 0; }