Re: [PATCH 4/7] CAN: Add broadcast manager (bcm) protocol

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaldo Carvalho de Melo
Date: Tuesday, September 25, 2007 - 5:51 am

Em Tue, Sep 25, 2007 at 02:20:33PM +0200, Urs Thuermann escreveu:

We have gfp_any() for this:

[acme@filo net-2.6.24]$ grep gfp_any net/*/*.[ch]
net/ipv4/tcp.c:         tcp_send_active_reset(sk, gfp_any());
net/ipv6/route.c:       skb = nlmsg_new(rt6_nlmsg_size(), gfp_any());
net/ipv6/route.c:       err = rtnl_notify(skb, pid, RTNLGRP_IPV6_ROUTE,
nlh, gfp_any());
net/netfilter/nfnetlink.c:      netlink_broadcast(nfnl, skb, pid, group,
gfp_any());
net/netlink/af_netlink.c:       skb = netlink_trim(skb, gfp_any());

[acme@filo net-2.6.24]$ grep in_interrupt net/*/*.[ch]
net/decnet/dn_route.c:  int user_mode = !in_interrupt();
net/decnet/dn_table.c:  if (in_interrupt() && net_ratelimit()) {
[acme@filo net-2.6.24]$


ditto

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/7] CAN: Add broadcast manager (bcm) protocol, Urs Thuermann, (Tue Sep 25, 5:20 am)
Re: [PATCH 4/7] CAN: Add broadcast manager (bcm) protocol, Arnaldo Carvalho de Melo, (Tue Sep 25, 5:51 am)
Re: [PATCH 4/7] CAN: Add broadcast manager (bcm) protocol, Urs Thuermann, (Tue Sep 25, 6:26 am)