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
be9f10e7
Commit
be9f10e7
authored
Dec 04, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://typhoon.bkbits.net/typhoon-2.5
into redhat.com:/spare/repo/net-drivers-2.5
parents
3a0e4612
d2df046f
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
22 deletions
+15
-22
arch/i386/mm/fault.c
arch/i386/mm/fault.c
+2
-1
drivers/net/pci-skeleton.c
drivers/net/pci-skeleton.c
+0
-7
drivers/net/r8169.c
drivers/net/r8169.c
+0
-4
drivers/net/sis190.c
drivers/net/sis190.c
+0
-4
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+1
-0
fs/proc/base.c
fs/proc/base.c
+7
-3
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+1
-0
kernel/sched.c
kernel/sched.c
+1
-1
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
+1
-1
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_ipv4.c
+1
-0
net/ipv6/udp.c
net/ipv6/udp.c
+1
-1
No files found.
arch/i386/mm/fault.c
View file @
be9f10e7
...
@@ -359,7 +359,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code)
...
@@ -359,7 +359,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code)
return
;
return
;
tsk
->
thread
.
cr2
=
address
;
tsk
->
thread
.
cr2
=
address
;
tsk
->
thread
.
error_code
=
error_code
;
/* Kernel addresses are always protection faults */
tsk
->
thread
.
error_code
=
error_code
|
(
address
>=
TASK_SIZE
);
tsk
->
thread
.
trap_no
=
14
;
tsk
->
thread
.
trap_no
=
14
;
info
.
si_signo
=
SIGSEGV
;
info
.
si_signo
=
SIGSEGV
;
info
.
si_errno
=
0
;
info
.
si_errno
=
0
;
...
...
drivers/net/pci-skeleton.c
View file @
be9f10e7
...
@@ -864,13 +864,6 @@ static void __devexit netdrv_remove_one (struct pci_dev *pdev)
...
@@ -864,13 +864,6 @@ static void __devexit netdrv_remove_one (struct pci_dev *pdev)
pci_release_regions
(
pdev
);
pci_release_regions
(
pdev
);
#ifndef NETDRV_NDEBUG
/* poison memory before freeing */
memset
(
dev
,
0xBC
,
sizeof
(
struct
net_device
)
+
sizeof
(
struct
netdrv_private
));
#endif
/* NETDRV_NDEBUG */
free_netdev
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
...
...
drivers/net/r8169.c
View file @
be9f10e7
...
@@ -642,10 +642,6 @@ rtl8169_remove_one(struct pci_dev *pdev)
...
@@ -642,10 +642,6 @@ rtl8169_remove_one(struct pci_dev *pdev)
iounmap
(
tp
->
mmio_addr
);
iounmap
(
tp
->
mmio_addr
);
pci_release_regions
(
pdev
);
pci_release_regions
(
pdev
);
// poison memory before freeing
memset
(
dev
,
0xBC
,
sizeof
(
struct
net_device
)
+
sizeof
(
struct
rtl8169_private
));
pci_disable_device
(
pdev
);
pci_disable_device
(
pdev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
...
...
drivers/net/sis190.c
View file @
be9f10e7
...
@@ -703,10 +703,6 @@ SiS190_remove_one(struct pci_dev *pdev)
...
@@ -703,10 +703,6 @@ SiS190_remove_one(struct pci_dev *pdev)
iounmap
(
tp
->
mmio_addr
);
iounmap
(
tp
->
mmio_addr
);
pci_release_regions
(
pdev
);
pci_release_regions
(
pdev
);
// poison memory before freeing
memset
(
dev
,
0xBC
,
sizeof
(
struct
net_device
)
+
sizeof
(
struct
sis190_private
));
free_netdev
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
}
}
...
...
drivers/scsi/ide-scsi.c
View file @
be9f10e7
...
@@ -517,6 +517,7 @@ static ide_startstop_t idescsi_issue_pc (ide_drive_t *drive, idescsi_pc_t *pc)
...
@@ -517,6 +517,7 @@ static ide_startstop_t idescsi_issue_pc (ide_drive_t *drive, idescsi_pc_t *pc)
pc
->
current_position
=
pc
->
buffer
;
pc
->
current_position
=
pc
->
buffer
;
bcount
.
all
=
IDE_MIN
(
pc
->
request_transfer
,
63
*
1024
);
/* Request to transfer the entire buffer at once */
bcount
.
all
=
IDE_MIN
(
pc
->
request_transfer
,
63
*
1024
);
/* Request to transfer the entire buffer at once */
feature
.
all
=
0
;
if
(
drive
->
using_dma
&&
rq
->
bio
)
{
if
(
drive
->
using_dma
&&
rq
->
bio
)
{
if
(
test_bit
(
PC_WRITING
,
&
pc
->
flags
))
if
(
test_bit
(
PC_WRITING
,
&
pc
->
flags
))
feature
.
b
.
dma
=
!
HWIF
(
drive
)
->
ide_dma_write
(
drive
);
feature
.
b
.
dma
=
!
HWIF
(
drive
)
->
ide_dma_write
(
drive
);
...
...
fs/proc/base.c
View file @
be9f10e7
...
@@ -1666,10 +1666,14 @@ static int get_tid_list(int index, unsigned int *tids, struct inode *dir)
...
@@ -1666,10 +1666,14 @@ static int get_tid_list(int index, unsigned int *tids, struct inode *dir)
index
-=
2
;
index
-=
2
;
read_lock
(
&
tasklist_lock
);
read_lock
(
&
tasklist_lock
);
do
{
/*
* The starting point task (leader_task) might be an already
* unlinked task, which cannot be used to access the task-list
* via next_thread().
*/
if
(
pid_alive
(
task
))
do
{
int
tid
=
task
->
pid
;
int
tid
=
task
->
pid
;
if
(
!
pid_alive
(
task
))
continue
;
if
(
--
index
>=
0
)
if
(
--
index
>=
0
)
continue
;
continue
;
tids
[
nr_tids
]
=
tid
;
tids
[
nr_tids
]
=
tid
;
...
...
include/linux/rtnetlink.h
View file @
be9f10e7
...
@@ -138,6 +138,7 @@ enum
...
@@ -138,6 +138,7 @@ enum
#define RTPROT_ZEBRA 11
/* Zebra */
#define RTPROT_ZEBRA 11
/* Zebra */
#define RTPROT_BIRD 12
/* BIRD */
#define RTPROT_BIRD 12
/* BIRD */
#define RTPROT_DNROUTED 13
/* DECnet routing daemon */
#define RTPROT_DNROUTED 13
/* DECnet routing daemon */
#define RTPROT_XORP 14
/* XORP */
/* rtm_scope
/* rtm_scope
...
...
kernel/sched.c
View file @
be9f10e7
...
@@ -646,7 +646,7 @@ static int try_to_wake_up(task_t * p, unsigned int state, int sync)
...
@@ -646,7 +646,7 @@ static int try_to_wake_up(task_t * p, unsigned int state, int sync)
*/
*/
p
->
activated
=
-
1
;
p
->
activated
=
-
1
;
}
}
if
(
sync
)
if
(
sync
&&
(
task_cpu
(
p
)
==
smp_processor_id
())
)
__activate_task
(
p
,
rq
);
__activate_task
(
p
,
rq
);
else
{
else
{
activate_task
(
p
,
rq
);
activate_task
(
p
,
rq
);
...
...
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
View file @
be9f10e7
...
@@ -53,7 +53,7 @@ unsigned long ip_ct_tcp_timeout_syn_sent = 2 MINS;
...
@@ -53,7 +53,7 @@ unsigned long ip_ct_tcp_timeout_syn_sent = 2 MINS;
unsigned
long
ip_ct_tcp_timeout_syn_recv
=
60
SECS
;
unsigned
long
ip_ct_tcp_timeout_syn_recv
=
60
SECS
;
unsigned
long
ip_ct_tcp_timeout_established
=
5
DAYS
;
unsigned
long
ip_ct_tcp_timeout_established
=
5
DAYS
;
unsigned
long
ip_ct_tcp_timeout_fin_wait
=
2
MINS
;
unsigned
long
ip_ct_tcp_timeout_fin_wait
=
2
MINS
;
unsigned
long
ip_ct_tcp_timeout_close_wait
=
3
DAY
S
;
unsigned
long
ip_ct_tcp_timeout_close_wait
=
60
SEC
S
;
unsigned
long
ip_ct_tcp_timeout_last_ack
=
30
SECS
;
unsigned
long
ip_ct_tcp_timeout_last_ack
=
30
SECS
;
unsigned
long
ip_ct_tcp_timeout_time_wait
=
2
MINS
;
unsigned
long
ip_ct_tcp_timeout_time_wait
=
2
MINS
;
unsigned
long
ip_ct_tcp_timeout_close
=
10
SECS
;
unsigned
long
ip_ct_tcp_timeout_close
=
10
SECS
;
...
...
net/ipv4/tcp_ipv4.c
View file @
be9f10e7
...
@@ -2356,6 +2356,7 @@ static void *tcp_get_idx(struct seq_file *seq, loff_t pos)
...
@@ -2356,6 +2356,7 @@ static void *tcp_get_idx(struct seq_file *seq, loff_t pos)
static
void
*
tcp_seq_start
(
struct
seq_file
*
seq
,
loff_t
*
pos
)
static
void
*
tcp_seq_start
(
struct
seq_file
*
seq
,
loff_t
*
pos
)
{
{
struct
tcp_iter_state
*
st
=
seq
->
private
;
struct
tcp_iter_state
*
st
=
seq
->
private
;
st
->
state
=
TCP_SEQ_STATE_LISTENING
;
st
->
num
=
0
;
st
->
num
=
0
;
return
*
pos
?
tcp_get_idx
(
seq
,
*
pos
-
1
)
:
SEQ_START_TOKEN
;
return
*
pos
?
tcp_get_idx
(
seq
,
*
pos
-
1
)
:
SEQ_START_TOKEN
;
}
}
...
...
net/ipv6/udp.c
View file @
be9f10e7
...
@@ -825,7 +825,7 @@ static int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg
...
@@ -825,7 +825,7 @@ static int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg
struct
sockaddr_in
sin
;
struct
sockaddr_in
sin
;
sin
.
sin_family
=
AF_INET
;
sin
.
sin_family
=
AF_INET
;
sin
.
sin_port
=
sin6
?
sin6
->
sin6_port
:
inet
->
dport
;
sin
.
sin_port
=
sin6
?
sin6
->
sin6_port
:
inet
->
dport
;
sin
.
sin_addr
.
s_addr
=
daddr
->
s6_addr
[
3
];
sin
.
sin_addr
.
s_addr
=
daddr
->
s6_addr
32
[
3
];
msg
->
msg_name
=
&
sin
;
msg
->
msg_name
=
&
sin
;
msg
->
msg_namelen
=
sizeof
(
sin
);
msg
->
msg_namelen
=
sizeof
(
sin
);
do_udp_sendmsg:
do_udp_sendmsg:
...
...
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