diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:40 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:29 -0500 |
commit | 429eb0fae6c06c9adcda03401c09c2b9ccaa7ebd (patch) | |
tree | 17e8a73e4e713750413bad4a37cfdc1c78c77d3f /net/decnet/dn_neigh.c | |
parent | c9eaf17341834de00351bf79f16b2d879c8aea96 (diff) |
[NET] DECNET: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_neigh.c')
-rw-r--r-- | net/decnet/dn_neigh.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c index 7322bb36e825..11d692dfb4f3 100644 --- a/net/decnet/dn_neigh.c +++ b/net/decnet/dn_neigh.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * operating system. DECnet is implemented using the BSD Socket | 3 | * operating system. DECnet is implemented using the BSD Socket |
4 | * interface as the means of communication with the user level. | 4 | * interface as the means of communication with the user level. |
5 | * | 5 | * |
6 | * DECnet Neighbour Functions (Adjacency Database and | 6 | * DECnet Neighbour Functions (Adjacency Database and |
7 | * On-Ethernet Cache) | 7 | * On-Ethernet Cache) |
8 | * | 8 | * |
9 | * Author: Steve Whitehouse <SteveW@ACM.org> | 9 | * Author: Steve Whitehouse <SteveW@ACM.org> |
@@ -277,19 +277,19 @@ static int dn_short_output(struct sk_buff *skb) | |||
277 | struct dn_skb_cb *cb = DN_SKB_CB(skb); | 277 | struct dn_skb_cb *cb = DN_SKB_CB(skb); |
278 | 278 | ||
279 | 279 | ||
280 | if (skb_headroom(skb) < headroom) { | 280 | if (skb_headroom(skb) < headroom) { |
281 | struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); | 281 | struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); |
282 | if (skb2 == NULL) { | 282 | if (skb2 == NULL) { |
283 | if (net_ratelimit()) | 283 | if (net_ratelimit()) |
284 | printk(KERN_CRIT "dn_short_output: no memory\n"); | 284 | printk(KERN_CRIT "dn_short_output: no memory\n"); |
285 | kfree_skb(skb); | 285 | kfree_skb(skb); |
286 | return -ENOBUFS; | 286 | return -ENOBUFS; |
287 | } | 287 | } |
288 | kfree_skb(skb); | 288 | kfree_skb(skb); |
289 | skb = skb2; | 289 | skb = skb2; |
290 | if (net_ratelimit()) | 290 | if (net_ratelimit()) |
291 | printk(KERN_INFO "dn_short_output: Increasing headroom\n"); | 291 | printk(KERN_INFO "dn_short_output: Increasing headroom\n"); |
292 | } | 292 | } |
293 | 293 | ||
294 | data = skb_push(skb, sizeof(struct dn_short_packet) + 2); | 294 | data = skb_push(skb, sizeof(struct dn_short_packet) + 2); |
295 | *((__le16 *)data) = dn_htons(skb->len - 2); | 295 | *((__le16 *)data) = dn_htons(skb->len - 2); |