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
07795e7a
Commit
07795e7a
authored
May 14, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents
5df7bfe4
1998eb88
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
14 deletions
+11
-14
drivers/net/sb1000.c
drivers/net/sb1000.c
+8
-12
net/bridge/br_input.c
net/bridge/br_input.c
+1
-1
net/decnet/netfilter/dn_rtmsg.c
net/decnet/netfilter/dn_rtmsg.c
+1
-1
net/key/af_key.c
net/key/af_key.c
+1
-0
No files found.
drivers/net/sb1000.c
View file @
07795e7a
...
...
@@ -137,17 +137,6 @@ static const struct pnp_device_id sb1000_pnp_ids[] = {
};
MODULE_DEVICE_TABLE
(
pnp
,
sb1000_pnp_ids
);
static
void
sb1000_setup
(
struct
net_device
*
dev
)
{
dev
->
type
=
ARPHRD_ETHER
;
dev
->
mtu
=
1500
;
dev
->
addr_len
=
ETH_ALEN
;
/* New-style flags. */
dev
->
flags
=
IFF_POINTOPOINT
|
IFF_NOARP
;
}
static
int
sb1000_probe_one
(
struct
pnp_dev
*
pdev
,
const
struct
pnp_device_id
*
id
)
{
...
...
@@ -188,11 +177,18 @@ sb1000_probe_one(struct pnp_dev *pdev, const struct pnp_device_id *id)
"S/N %#8.8x, IRQ %d.
\n
"
,
dev
->
name
,
dev
->
base_addr
,
dev
->
mem_start
,
serial_number
,
dev
->
irq
);
dev
=
alloc_
netdev
(
sizeof
(
struct
sb1000_private
),
"cm%d"
,
sb1000_setup
);
dev
=
alloc_
etherdev
(
sizeof
(
struct
sb1000_private
)
);
if
(
!
dev
)
{
error
=
-
ENOMEM
;
goto
out_release_regions
;
}
/*
* The SB1000 is an rx-only cable modem device. The uplink is a modem
* and we do not want to arp on it.
*/
dev
->
flags
=
IFF_POINTOPOINT
|
IFF_NOARP
;
SET_MODULE_OWNER
(
dev
);
if
(
sb1000_debug
>
0
)
...
...
net/bridge/br_input.c
View file @
07795e7a
...
...
@@ -64,7 +64,7 @@ int br_handle_frame_finish(struct sk_buff *skb)
smp_read_barrier_depends
();
if
(
p
==
NULL
||
p
->
state
==
BR_STATE_DISABLED
)
{
kfree
(
skb
);
kfree
_skb
(
skb
);
goto
out
;
}
...
...
net/decnet/netfilter/dn_rtmsg.c
View file @
07795e7a
...
...
@@ -55,7 +55,7 @@ static struct sk_buff *dnrmg_build_message(struct sk_buff *rt_skb, int *errp)
nlmsg_failure:
if
(
skb
)
kfree
(
skb
);
kfree
_skb
(
skb
);
*
errp
=
-
ENOMEM
;
if
(
net_ratelimit
())
printk
(
KERN_ERR
"dn_rtmsg: error creating netlink message
\n
"
);
...
...
net/key/af_key.c
View file @
07795e7a
...
...
@@ -1090,6 +1090,7 @@ static struct xfrm_state * pfkey_msg2xfrm_state(struct sadb_msg *hdr,
return
x
;
out:
x
->
km
.
state
=
XFRM_STATE_DEAD
;
xfrm_state_put
(
x
);
return
ERR_PTR
(
-
ENOBUFS
);
}
...
...
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