diff options
Diffstat (limited to 'drivers/net/slhc.c')
-rw-r--r-- | drivers/net/slhc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/slhc.c b/drivers/net/slhc.c index 9a540e2092b9..0adab709ab68 100644 --- a/drivers/net/slhc.c +++ b/drivers/net/slhc.c @@ -42,7 +42,7 @@ * Modularization. * - Jan 1995 Bjorn Ekwall * Use ip_fast_csum from ip.h - * - July 1995 Christos A. Polyzols + * - July 1995 Christos A. Polyzols * Spotted bug in tcp option checking * * @@ -238,10 +238,10 @@ slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, /* * Don't play with runt packets. */ - + if(isize<sizeof(struct iphdr)) return isize; - + ip = (struct iphdr *) icp; /* Bail if this packet isn't TCP, or is an IP fragment */ |