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
867d79fb
Commit
867d79fb
authored
Jul 21, 2008
by
Linus Torvalds
Committed by
David S. Miller
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: In __netif_schedule() use WARN_ON instead of BUG_ON
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
b6b2fed1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/core/dev.c
net/core/dev.c
+2
-1
No files found.
net/core/dev.c
View file @
867d79fb
...
...
@@ -1327,7 +1327,8 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
void
__netif_schedule
(
struct
Qdisc
*
q
)
{
BUG_ON
(
q
==
&
noop_qdisc
);
if
(
WARN_ON_ONCE
(
q
==
&
noop_qdisc
))
return
;
if
(
!
test_and_set_bit
(
__QDISC_STATE_SCHED
,
&
q
->
state
))
{
struct
softnet_data
*
sd
;
...
...
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