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
7d1fea0a
Commit
7d1fea0a
authored
Jun 27, 2003
by
Martin Josefsson
Committed by
Jeff Garzik
Jun 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix use-after-free in e100
parent
2047769f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/e100/e100_main.c
drivers/net/e100/e100_main.c
+2
-1
No files found.
drivers/net/e100/e100_main.c
View file @
7d1fea0a
...
@@ -2068,13 +2068,14 @@ e100_rx_srv(struct e100_private *bdp)
...
@@ -2068,13 +2068,14 @@ e100_rx_srv(struct e100_private *bdp)
skb
->
ip_summed
=
CHECKSUM_NONE
;
skb
->
ip_summed
=
CHECKSUM_NONE
;
}
}
bdp
->
drv_stats
.
net_stats
.
rx_bytes
+=
skb
->
len
;
if
(
bdp
->
vlgrp
&&
(
rfd_status
&
CB_STATUS_VLAN
))
{
if
(
bdp
->
vlgrp
&&
(
rfd_status
&
CB_STATUS_VLAN
))
{
vlan_hwaccel_rx
(
skb
,
bdp
->
vlgrp
,
be16_to_cpu
(
rfd
->
vlanid
));
vlan_hwaccel_rx
(
skb
,
bdp
->
vlgrp
,
be16_to_cpu
(
rfd
->
vlanid
));
}
else
{
}
else
{
netif_rx
(
skb
);
netif_rx
(
skb
);
}
}
dev
->
last_rx
=
jiffies
;
dev
->
last_rx
=
jiffies
;
bdp
->
drv_stats
.
net_stats
.
rx_bytes
+=
skb
->
len
;
rfd_cnt
++
;
rfd_cnt
++
;
}
/* end of rfd loop */
}
/* end of rfd loop */
...
...
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