Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
047f9b27
Commit
047f9b27
authored
Oct 07, 2003
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
parents
cd16cdfe
fba50905
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
drivers/acpi/asus_acpi.c
drivers/acpi/asus_acpi.c
+0
-3
net/ipv4/ipconfig.c
net/ipv4/ipconfig.c
+3
-3
No files found.
drivers/acpi/asus_acpi.c
View file @
047f9b27
...
...
@@ -33,9 +33,6 @@
*/
#include <linux/config.h>
#if defined (CONFIG_MODVERSIONS) && !defined (MODVERSIONS) && defined (MODULE)
#include <linux/modversions.h>
#endif
#include <linux/kernel.h>
#include <linux/module.h>
...
...
net/ipv4/ipconfig.c
View file @
047f9b27
...
...
@@ -417,7 +417,7 @@ ic_rarp_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
if
((
skb
=
skb_share_check
(
skb
,
GFP_ATOMIC
))
==
NULL
)
return
NET_RX_DROP
;
if
(
!
pskb_may_pull
(
skb
,
sizeof
(
arphdr
)))
if
(
!
pskb_may_pull
(
skb
,
sizeof
(
struct
arphdr
)))
goto
drop
;
/* Basic sanity checks can be done without the lock. */
...
...
@@ -438,7 +438,7 @@ ic_rarp_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
goto
drop
;
if
(
!
pskb_may_pull
(
skb
,
sizeof
(
arphdr
)
+
sizeof
(
struct
arphdr
)
+
(
2
*
dev
->
addr_len
)
+
(
2
*
4
)))
goto
drop
;
...
...
@@ -855,7 +855,7 @@ static int __init ic_bootp_recv(struct sk_buff *skb, struct net_device *dev, str
if
(
b
->
udph
.
source
!=
htons
(
67
)
||
b
->
udph
.
dest
!=
htons
(
68
))
goto
drop
;
if
(
ntohs
(
h
->
tot_len
)
<
ntohs
(
b
->
ud
hp
.
len
)
+
sizeof
(
struct
iphdr
))
if
(
ntohs
(
h
->
tot_len
)
<
ntohs
(
b
->
ud
ph
.
len
)
+
sizeof
(
struct
iphdr
))
goto
drop
;
len
=
ntohs
(
b
->
udph
.
len
)
-
sizeof
(
struct
udphdr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment