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
df39befb
Commit
df39befb
authored
Dec 01, 2002
by
Art Haas
Committed by
Linus Torvalds
Dec 01, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializer patches for four net/ files
parent
7af795fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
27 deletions
+27
-27
net/bridge/br_netfilter.c
net/bridge/br_netfilter.c
+8
-8
net/netlink/af_netlink.c
net/netlink/af_netlink.c
+2
-2
net/rxrpc/connection.c
net/rxrpc/connection.c
+1
-1
net/sched/sch_prio.c
net/sched/sch_prio.c
+16
-16
No files found.
net/bridge/br_netfilter.c
View file @
df39befb
...
...
@@ -49,20 +49,20 @@
* require us to fill additional fields.
*/
static
struct
net_device
__fake_net_device
=
{
hard_header_len:
ETH_HLEN
.
hard_header_len
=
ETH_HLEN
};
static
struct
rtable
__fake_rtable
=
{
u:
{
dst:
{
__refcnt:
ATOMIC_INIT
(
1
),
dev:
&
__fake_net_device
,
path:
&
__fake_rtable
.
u
.
dst
,
metrics:
{[
RTAX_MTU
]
1500
},
.
u
=
{
.
dst
=
{
.
__refcnt
=
ATOMIC_INIT
(
1
),
.
dev
=
&
__fake_net_device
,
.
path
=
&
__fake_rtable
.
u
.
dst
,
.
metrics
=
{[
RTAX_MTU
]
=
1500
},
}
},
rt_flags:
0
.
rt_flags
=
0
};
...
...
net/netlink/af_netlink.c
View file @
df39befb
...
...
@@ -281,8 +281,8 @@ static int netlink_release(struct socket *sock)
skb_queue_purge
(
&
sk
->
write_queue
);
if
(
nlk
->
pid
&&
!
nlk
->
groups
)
{
struct
netlink_notify
n
=
{
protocol
:
sk
->
protocol
,
pid:
nlk
->
pid
};
struct
netlink_notify
n
=
{
.
protocol
=
sk
->
protocol
,
.
pid
=
nlk
->
pid
};
notifier_call_chain
(
&
netlink_chain
,
NETLINK_URELEASE
,
&
n
);
}
...
...
net/rxrpc/connection.c
View file @
df39befb
...
...
@@ -39,7 +39,7 @@ static void __rxrpc_conn_timeout(rxrpc_timer_t *timer)
}
static
const
struct
rxrpc_timer_ops
rxrpc_conn_timer_ops
=
{
timed_out:
__rxrpc_conn_timeout
,
.
timed_out
=
__rxrpc_conn_timeout
,
};
/*****************************************************************************/
...
...
net/sched/sch_prio.c
View file @
df39befb
...
...
@@ -383,22 +383,22 @@ static struct Qdisc_class_ops prio_class_ops =
struct
Qdisc_ops
prio_qdisc_ops
=
{
next:
NULL
,
cl_ops:
&
prio_class_ops
,
id:
"prio"
,
priv_size:
sizeof
(
struct
prio_sched_data
),
enqueue:
prio_enqueue
,
dequeue:
prio_dequeue
,
requeue:
prio_requeue
,
drop:
prio_drop
,
init:
prio_init
,
reset:
prio_reset
,
destroy:
prio_destroy
,
change:
prio_tune
,
dump:
prio_dump
,
.
next
=
NULL
,
.
cl_ops
=
&
prio_class_ops
,
.
id
=
"prio"
,
.
priv_size
=
sizeof
(
struct
prio_sched_data
),
.
enqueue
=
prio_enqueue
,
.
dequeue
=
prio_dequeue
,
.
requeue
=
prio_requeue
,
.
drop
=
prio_drop
,
.
init
=
prio_init
,
.
reset
=
prio_reset
,
.
destroy
=
prio_destroy
,
.
change
=
prio_tune
,
.
dump
=
prio_dump
,
};
#ifdef MODULE
...
...
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