netdev
[Top] [All Lists]

Re: af_packet.c bug?

To: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Subject: Re: af_packet.c bug?
From: Thomas Graf <tgraf@xxxxxxx>
Date: Mon, 28 Mar 2005 22:17:38 +0200
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
In-reply-to: <4248642E.40304@candelatech.com>
References: <424858D4.8060604@candelatech.com> <20050328195557.GF3086@postel.suug.ch> <4248642E.40304@candelatech.com>
Sender: netdev-bounce@xxxxxxxxxxx
* Ben Greear <4248642E.40304@xxxxxxxxxxxxxxx> 2005-03-28 12:08
> >Seems so, please adopt the size of spkt_device in struct sockaddr_pkt
> 
> you mean adapt maybe?

Of course, stupid typo. ;->

> I was also wondering why we couldn't hold a reference to the net-device
> instead of just it's ifindex when dealing with a bound raw socket.

Saving a netdevice handle in the packet socket is not a problem but
doing the same for the packet socket address seems to be non trivial.

<Prev in Thread] Current Thread [Next in Thread>