Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247712
b: refs/heads/master
c: 75e308c
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed May 19, 2011
1 parent d4e7c25 commit a8e2946
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: bb0cd2fb539c4e454ed32e32194acc03b75753f3
refs/heads/master: 75e308c894c4a5e47c005b8e821ae5f539ad2ef3
10 changes: 7 additions & 3 deletions trunk/net/ipv4/ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ static struct sock *ping_v4_lookup(struct net *net, u32 saddr, u32 daddr,
return sk;
}

static void inet_get_ping_group_range_net(struct net *net, gid_t *low, gid_t *high)
static void inet_get_ping_group_range_net(struct net *net, gid_t *low,
gid_t *high)
{
gid_t *data = net->ipv4.sysctl_ping_group_range;
unsigned seq;
Expand Down Expand Up @@ -437,7 +438,8 @@ static int ping_getfrag(void *from, char * to,
return 0;
}

static int ping_push_pending_frames(struct sock *sk, struct pingfakehdr *pfh, struct flowi4 *fl4)
static int ping_push_pending_frames(struct sock *sk, struct pingfakehdr *pfh,
struct flowi4 *fl4)
{
struct sk_buff *skb = skb_peek(&sk->sk_write_queue);

Expand Down Expand Up @@ -754,7 +756,9 @@ static struct sock *ping_get_first(struct seq_file *seq, int start)
for (state->bucket = start; state->bucket < PING_HTABLE_SIZE;
++state->bucket) {
struct hlist_nulls_node *node;
struct hlist_nulls_head *hslot = &ping_table.hash[state->bucket];
struct hlist_nulls_head *hslot;

hslot = &ping_table.hash[state->bucket];

if (hlist_nulls_empty(hslot))
continue;
Expand Down

0 comments on commit a8e2946

Please sign in to comment.