From owner-freebsd-net@FreeBSD.ORG Wed Apr 15 18:09:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 608DB106566C for ; Wed, 15 Apr 2009 18:09:22 +0000 (UTC) (envelope-from alexey-lukashin@yandex.ru) Received: from mail.nevalink.net (mail.nevalink.net [89.223.40.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1E35C8FC1B for ; Wed, 15 Apr 2009 18:09:22 +0000 (UTC) (envelope-from alexey-lukashin@yandex.ru) Received: from [192.168.1.101] (unknown [10.145.216.33]) by mail.nevalink.net (Nevalink) with ESMTP id 31CAF83D8D0 for ; Wed, 15 Apr 2009 22:29:12 +0400 (MSD) Message-ID: <49E619CD.4000502@yandex.ru> Date: Wed, 15 Apr 2009 21:30:53 +0400 From: Alexey Lukashin User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Netgraph. panic in kernel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 18:09:22 -0000 Hi all, I'm studying how Netgraph system works and trying to write my own netgraph node similar to ng_bridge. It catches packets from lower ng_ether hooks and transmits it to other interfaces using mac address hashtable. Packet processing in my node implemented similar to ng_bridge_rcvdata() in ng_bridge.c. I don't do anything with packet. I don't modifying packet header, I only send it to another interface. My interfaces are working in promiscuous mode with autosrc=0. But sometimes (after one or two hours working in network) I have an error with message: "rl1: discard frame w/o packet header" After it, my system halts. Is anybody knows, where the problem can be? When does this message appears? (system is FreeBSD 7.1-STABLE) Thank you. -- Best regards, Alexey Lukashin Saint-Petersburg, Russia