Re: [PATCH] Make netif_rx_ni preempt-safe

From: Denis Vlasenko
Date: Wed Oct 20 2004 - 15:53:38 EST


On Wednesday 20 October 2004 23:25, Lee Revell wrote:
> > > --- include/linux/netdevice.h~ 2004-10-20 15:51:00.000000000 -0400
> > > +++ include/linux/netdevice.h 2004-10-20 15:51:54.000000000 -0400
> > > @@ -694,11 +694,14 @@
> > > /* Post buffer to the network code from _non interrupt_ context.
> > > * see net/core/dev.c for netif_rx description.
> > > */
> > > -static inline int netif_rx_ni(struct sk_buff *skb)
> > > +static int netif_rx_ni(struct sk_buff *skb)
> >
> > non-inline functions must not live in .h files
>
> Where do you suggest we put it?

Somewhere near this place:

http://lxr.linux.no/source/net/core/dev.c?v=2.6.8.1#L1555
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/