Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
11c18b5c
Commit
11c18b5c
authored
Dec 14, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
parents
a50e2cc7
a388442c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
net/8021q/vlan_dev.c
net/8021q/vlan_dev.c
+3
-0
net/ipv4/ip_gre.c
net/ipv4/ip_gre.c
+1
-1
No files found.
net/8021q/vlan_dev.c
View file @
11c18b5c
...
@@ -165,6 +165,9 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
...
@@ -165,6 +165,9 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
skb_pull
(
skb
,
VLAN_HLEN
);
/* take off the VLAN header (4 bytes currently) */
skb_pull
(
skb
,
VLAN_HLEN
);
/* take off the VLAN header (4 bytes currently) */
/* Need to correct hardware checksum */
skb_postpull_rcsum
(
skb
,
vhdr
,
VLAN_HLEN
);
/* Ok, lets check to make sure the device (dev) we
/* Ok, lets check to make sure the device (dev) we
* came in on is what this VLAN is attached to.
* came in on is what this VLAN is attached to.
*/
*/
...
...
net/ipv4/ip_gre.c
View file @
11c18b5c
...
@@ -618,7 +618,7 @@ static int ipgre_rcv(struct sk_buff *skb)
...
@@ -618,7 +618,7 @@ static int ipgre_rcv(struct sk_buff *skb)
skb
->
mac
.
raw
=
skb
->
nh
.
raw
;
skb
->
mac
.
raw
=
skb
->
nh
.
raw
;
skb
->
nh
.
raw
=
__pskb_pull
(
skb
,
offset
);
skb
->
nh
.
raw
=
__pskb_pull
(
skb
,
offset
);
skb_postpull_rcsum
(
skb
,
skb
->
mac
.
raw
,
offset
);
skb_postpull_rcsum
(
skb
,
skb
->
h
.
raw
,
offset
);
memset
(
&
(
IPCB
(
skb
)
->
opt
),
0
,
sizeof
(
struct
ip_options
));
memset
(
&
(
IPCB
(
skb
)
->
opt
),
0
,
sizeof
(
struct
ip_options
));
skb
->
pkt_type
=
PACKET_HOST
;
skb
->
pkt_type
=
PACKET_HOST
;
#ifdef CONFIG_NET_IPGRE_BROADCAST
#ifdef CONFIG_NET_IPGRE_BROADCAST
...
...
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