Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1ce4f28bd761eeb979d29be350f2d22383d4c2f0
Commit: 1ce4f28bd761eeb979d29be350f2d22383d4c2f0
Parent: 5f8f59d6641a3726985593f3e52430daa90c7933
Author: YOSHIFUJI Hideaki [EMAIL PROTECTED]
AuthorDate: Fri Feb 9 23:25:10 2007 +0900
Committer: David S. Miller [EMAIL PROTECTED]
CommitDate: Sat Feb 10 23:20:02 2007 -0800
[NET] PACKET: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki [EMAIL PROTECTED]
Signed-off-by: David S. Miller [EMAIL PROTECTED]
---
net/packet/af_packet.c | 78
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index a6fa487..4445509 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -11,7 +11,7 @@
* Fred N. van Kempen, [EMAIL PROTECTED]
* Alan Cox, [EMAIL PROTECTED]
*
- * Fixes:
+ * Fixes:
* Alan Cox: verify_area() now used correctly
* Alan Cox: new skbuff lists, look ma no backlogs!
* Alan Cox: tidied skbuff lists.
@@ -34,12 +34,12 @@
* Alexey Kuznetsov: Untied from IPv4 stack.
* Cyrus Durgin: Fixed kerneld for kmod.
* Michal Ostrowski: Module initialization cleanup.
- * Ulises Alonso: Frame number limit removal and
+ * Ulises Alonso: Frame number limit removal and
* packet_set_ring memory leak.
* Eric Biederman : Allow for 8 byte hardware addresses.
* The convention is that longer addresses
* will simply extend the hardware address
- * byte arrays at the end of sockaddr_ll
+ * byte arrays at the end of sockaddr_ll
* and packet_mreq.
*
* This program is free software; you can redistribute it and/or
@@ -48,7 +48,7 @@
* 2 of the License, or (at your option) any later version.
*
*/
-
+
#include linux/types.h
#include linux/sched.h
#include linux/mm.h
@@ -124,7 +124,7 @@ Outgoing, dev-hard_header!=NULL
Incoming, dev-hard_header==NULL
mac.raw - UNKNOWN position. It is very likely, that it points to ll header.
- PPP makes it, that is wrong, because introduce assymetry
+ PPP makes it, that is wrong, because introduce assymetry
between rx and tx paths.
data- data
@@ -237,7 +237,7 @@ static inline char *packet_lookup_frame(struct packet_sock
*po, unsigned int pos
frame_offset = position % po-frames_per_block;
frame = po-pg_vec[pg_vec_pos] + (frame_offset * po-frame_size);
-
+
return frame;
}
#endif
@@ -280,7 +280,7 @@ static int packet_rcv_spkt(struct sk_buff *skb, struct
net_device *dev, struct
*/
sk = pt-af_packet_priv;
-
+
/*
* Yank back the headers [hope the device set this
* right or kerboom...]
@@ -336,7 +336,7 @@ oom:
* Output a raw packet to a device layer. This bypasses all the other
* protocol layers and you must therefore supply it with a complete frame
*/
-
+
static int packet_sendmsg_spkt(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, size_t len)
{
@@ -346,9 +346,9 @@ static int packet_sendmsg_spkt(struct kiocb *iocb, struct
socket *sock,
struct net_device *dev;
__be16 proto=0;
int err;
-
+
/*
-* Get and verify the address.
+* Get and verify the address.
*/
if (saddr)
@@ -362,7 +362,7 @@ static int packet_sendmsg_spkt(struct kiocb *iocb, struct
socket *sock,
return(-ENOTCONN); /* SOCK_PACKET must be sent giving an
address */
/*
-* Find the device first to size check it
+* Find the device first to size check it
*/
saddr-spkt_device[13] = 0;
@@ -370,7 +370,7 @@ static int packet_sendmsg_spkt(struct kiocb *iocb, struct
socket *sock,
err = -ENODEV;
if (dev == NULL)
goto out_unlock;
-
+
err = -ENETDOWN;
if (!(dev-flags IFF_UP))
goto out_unlock;
@@ -379,7 +379,7 @@ static int packet_sendmsg_spkt(struct kiocb *iocb, struct
socket *sock,
* You may not queue a frame bigger than the mtu. This is the
lowest level
* raw protocol and you must do your own fragmentation at this
level.
*/
-
+
err = -EMSGSIZE;
if (len dev-mtu + dev-hard_header_len)
goto out_unlock;
@@ -392,14 +392,14 @@ static int packet_sendmsg_spkt