Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78673
b: refs/heads/master
c: 74feb6e
h: refs/heads/master
i:
  78671: d46b592
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jan 28, 2008
1 parent ef966f3 commit bc78db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65f7651788e18fadb2fbb7276af935d7871e1803
refs/heads/master: 74feb6e84e189707ca1324a92f7206617efbd735
4 changes: 2 additions & 2 deletions trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static const struct icmp_control icmp_pointers[NR_ICMP_TYPES+1];
static DEFINE_PER_CPU(struct socket *, __icmp_socket) = NULL;
#define icmp_socket __get_cpu_var(__icmp_socket)

static __inline__ int icmp_xmit_lock(void)
static inline int icmp_xmit_lock(void)
{
local_bh_disable();

Expand All @@ -246,7 +246,7 @@ static __inline__ int icmp_xmit_lock(void)
return 0;
}

static void icmp_xmit_unlock(void)
static inline void icmp_xmit_unlock(void)
{
spin_unlock_bh(&icmp_socket->sk->sk_lock.slock);
}
Expand Down

0 comments on commit bc78db1

Please sign in to comment.