[B.A.T.M.A.N.] [PATCH 04/10] batman-adv: Send neighbor discovery packets

Linus Lüssing linus.luessing at web.de
Tue Dec 7 21:23:44 CET 2010


On Tue, Dec 07, 2010 at 03:51:21PM +0100, Sven Eckelmann wrote:
> On Tuesday 07 December 2010 15:39:32 Linus Lüssing wrote:
> > +	memcpy(skb_put(skb, packet_len), batman_if->ndp_packet_buff,
> > +	       packet_len);
> > +
> > +	send_skb_packet(skb, batman_if, broadcast_addr);
> 
> > --- a/types.h
> > +++ b/types.h
> > @@ -47,6 +47,7 @@ struct batman_if {
> >  	struct packet_type batman_adv_ptype;
> >  	struct net_device *soft_iface;
> >  	struct rcu_head rcu;
> > +	unsigned char *ndp_packet_buff;
> 
> Good way to never get included in the linux kernel by David S. Miller.
> 
> Best regards,
> 	Sven

Argh, damn it, you noticed my secret plan and attempt to sabotage
batman-adv's inclussion into the linux kernel...

Well, anyway, thanks for having a glance at it, I'll send a fixup
soon :).

Cheers, Linus


More information about the B.A.T.M.A.N mailing list