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
Kirill Smelkov
linux
Commits
20bd1298
Commit
20bd1298
authored
Mar 10, 2005
by
Robert Olsson
Committed by
David S. Miller
Mar 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKTGEN]: Use __in_dev_put().
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
5f0fdd24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/core/pktgen.c
net/core/pktgen.c
+2
-2
No files found.
net/core/pktgen.c
View file @
20bd1298
...
...
@@ -151,7 +151,7 @@
#include <asm/timex.h>
#define VERSION "pktgen v2.5
8
: Packet Generator for packet performance testing.\n"
#define VERSION "pktgen v2.5
9
: Packet Generator for packet performance testing.\n"
/* #define PG_DEBUG(a) a */
#define PG_DEBUG(a)
...
...
@@ -1682,7 +1682,7 @@ static void pktgen_setup_inject(struct pktgen_dev *pkt_dev)
pkt_dev
->
saddr_min
=
in_dev
->
ifa_list
->
ifa_address
;
pkt_dev
->
saddr_max
=
pkt_dev
->
saddr_min
;
}
in_dev_put
(
in_dev
);
__
in_dev_put
(
in_dev
);
}
rcu_read_unlock
();
}
...
...
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