Displaying 20 results from an estimated 57 matches for "net_namespace".
2018 Apr 03
1
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...bsence of namescope started
>> with ':' can rightly be used as the namescope for
>> the kernel-only IFF_HIDDEN netdevs.
>>
>> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
>> ---
>> include/linux/netdevice.h | 12 ++
>> include/net/net_namespace.h | 2 +
>> net/core/dev.c | 281 ++++++++++++++++++++++++++++++++++++++------
>> net/core/net_namespace.c | 1 +
>> 4 files changed, 263 insertions(+), 33 deletions(-)
>>
>
>There are other use cases that want to hide a device from userspace. I
W...
2015 Jan 30
0
[PATCH v2 2/3] Revert "drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets"
...nsertion(+), 8 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 7df2217..0b86e46 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -17,7 +17,6 @@
#include <linux/fs.h>
#include <linux/uio.h>
-#include <net/ipv6.h>
#include <net/net_namespace.h>
#include <net/rtnetlink.h>
#include <net/sock.h>
@@ -589,8 +588,6 @@ static int macvtap_skb_from_vnet_hdr(struct macvtap_queue *q,
pr_warn_once("macvtap: %s: using disabled UFO feature; please fix this program\n",
current->comm);
gso_type = SKB_GSO...
2015 Jan 30
0
[PATCH v2 2/3] Revert "drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets"
...nsertion(+), 8 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 7df2217..0b86e46 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -17,7 +17,6 @@
#include <linux/fs.h>
#include <linux/uio.h>
-#include <net/ipv6.h>
#include <net/net_namespace.h>
#include <net/rtnetlink.h>
#include <net/sock.h>
@@ -589,8 +588,6 @@ static int macvtap_skb_from_vnet_hdr(struct macvtap_queue *q,
pr_warn_once("macvtap: %s: using disabled UFO feature; please fix this program\n",
current->comm);
gso_type = SKB_GSO...
2023 Feb 23
0
[Bridge] [netfilter][bridge...?][BUG report] vmalloc-out-of-bounds Read in __ebt_unregister_table
.../kasan/report.c:306 [inline]
print_report+0x156/0x459 mm/kasan/report.c:417
kasan_report+0xc0/0xf0 mm/kasan/report.c:517
__ebt_unregister_table+0xcc5/0xce0 net/bridge/netfilter/ebtables.c:1168
ebt_unregister_table+0x35/0x40 net/bridge/netfilter/ebtables.c:1372
ops_exit_list+0xb0/0x170 net/core/net_namespace.c:169
cleanup_net+0x4ee/0x9d0 net/core/net_namespace.c:613
process_one_work+0x9ba/0x1720 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Memory state around...
2018 Apr 03
0
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...absence of namescope started
>> with ':' can rightly be used as the namescope for
>> the kernel-only IFF_HIDDEN netdevs.
>>
>> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
>> ---
>> include/linux/netdevice.h | 12 ++
>> include/net/net_namespace.h | 2 +
>> net/core/dev.c | 281 ++++++++++++++++++++++++++++++++++++++------
>> net/core/net_namespace.c | 1 +
>> 4 files changed, 263 insertions(+), 33 deletions(-)
>>
>
> There are other use cases that want to hide a device from userspace.
Can...
2023 Aug 29
3
[Bridge] [GIT PULL] sysctl changes for v6.6-rc1
...-
arch/s390/appldata/appldata_base.c | 2 +-
drivers/net/vrf.c | 3 +-
fs/proc/proc_sysctl.c | 90 +++++++++++++++++----------------
include/linux/sysctl.h | 31 +++++++++---
include/net/ipv6.h | 2 +
include/net/net_namespace.h | 10 ++--
ipc/ipc_sysctl.c | 4 +-
ipc/mq_sysctl.c | 4 +-
kernel/ucount.c | 5 +-
net/ax25/sysctl_net_ax25.c | 3 +-
net/bridge/br_netfilter_hooks.c | 3 +-
net/core/neighbour.c...
2017 Oct 26
0
BUG: unable to handle kernel paging request in vsock_diag_dump
...git/master
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached
> Raw console output is attached.
> C reproducer is attached
> syzkaller reproducer is attached. See https://goo.gl/kgGztJ
> for information about syzkaller reproducers
>
>
> IP: read_pnet include/net/net_namespace.h:269 [inline]
> IP: sock_net include/net/sock.h:2299 [inline]
> IP: vsock_diag_dump+0x290/0xa80 net/vmw_vsock/diag.c:87
Feel free to ignore my previous reply, Cong Wang
<xiyou.wangcong at gmail.com> has already found the root cause. Thank you!
Stefan
2009 Jun 30
1
wan hdlc_ppp and IPv6
....1.14.el5 kernel sources.
Has anyone worked on this? I have tried simply overwriting the
drivers/net/wan directory with corresponding directory from
more recent (2.6.25.20, 2.6.30) vanilla kernel source, but I get errors:
CC [M] drivers/net/wan/hdlc.o
drivers/net/wan/hdlc.c:39:31: error: net/net_namespace.h: No such file or
directory
drivers/net/wan/hdlc.c: In function ?hdlc_rcv?:
drivers/net/wan/hdlc.c:69: warning: initialization from incompatible pointer
type
drivers/net/wan/hdlc.c:71: error: ?struct net_device? has no member named
?nd_net?
drivers/net/wan/hdlc.c:71: error: ?init_net? undeclared (...
2009 Dec 20
6
Problem with tap:aio
...he: 32K, L1 D cache: 32K
[ 0.872333] CPU: L2 cache: 6144K
[ 0.872340] CPU: Physical Processor ID: 1
[ 0.872344] CPU: Processor Core ID: 3
[ 0.872356] SMP alternatives: switching to UP code
[ 0.879420] Freeing SMP alternatives: 21k freed
[ 0.879535] Brought up 1 CPUs
[ 0.881865] net_namespace: 1224 bytes
[ 0.882025] NET: Registered protocol family 16
[ 0.883053] Brought up 1 CPUs
[ 0.883068] PCI: Fatal: No config space access function found
[ 0.883075] PCI: setting up Xen PCI frontend stub
[ 0.883750] ACPI: Interpreter disabled.
[ 0.883758] Linux Plug and Play Support...
2015 Jan 30
9
[PATCH v2 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2015 Jan 30
9
[PATCH v2 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2019 Feb 05
0
[vhost:linux-next 3/23] include/linux/swiotlb.h:105:20: error: static declaration of 'is_swiotlb_active' follows non-static declaration
...ones prefixed by >>):
In file included from arch/x86/include/asm/swiotlb.h:5,
from arch/x86/include/asm/dma-mapping.h:13,
from include/linux/dma-mapping.h:261,
from include/linux/skbuff.h:34,
from include/net/net_namespace.h:36,
from include/linux/inet.h:46,
from include/linux/sunrpc/msg_prot.h:204,
from include/linux/sunrpc/auth.h:16,
from include/linux/nfs_fs.h:31,
from init/do_mounts.c:22:
include/linux/swiotlb.h...
2014 Oct 27
3
[PATCH net 0/2] drivers/net,ipv6: Fix IPv6 fragment ID selection for virtio
The virtio net protocol supports UFO but does not provide for passing a
fragment ID for fragmentation of IPv6 packets. We used to generate a
fragment ID wherever such a packet was fragmented, but currently we
always use ID=0!
Ben.
Ben Hutchings (2):
drivers/net: Disable UFO through virtio
drivers/net,ipv6: Select IPv6 fragment idents for virtio UFO packets
drivers/net/macvtap.c | 16
2014 Oct 27
3
[PATCH net 0/2] drivers/net,ipv6: Fix IPv6 fragment ID selection for virtio
The virtio net protocol supports UFO but does not provide for passing a
fragment ID for fragmentation of IPv6 packets. We used to generate a
fragment ID wherever such a packet was fragmented, but currently we
always use ID=0!
Ben.
Ben Hutchings (2):
drivers/net: Disable UFO through virtio
drivers/net,ipv6: Select IPv6 fragment idents for virtio UFO packets
drivers/net/macvtap.c | 16
2015 Feb 03
4
[PATCH v4 net 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2015 Feb 03
4
[PATCH v4 net 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2015 Feb 02
5
[PATCH v3 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2015 Feb 02
5
[PATCH v3 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Oct 30 18:27:12 2014 +0000
drivers/net: Disable UFO through virtio
Turned off UFO support to virtio-net based devices due to issues
with IPv6 fragment id generation for UFO packets. The issue
was that IPv6 UFO/GSO implementation expects the fragment id
to be supplied in
2009 Jun 22
3
How to boot Ubuntu 9.04(Jaunty) or Debian Lenny (vmlinuz-2.6.26-2-686-bigmem) as domU under Lenny''s vmlinuz-2.6.26-2-xen-686 as dom0. PVM''s initrd issue
...subsys devices
[ 0.080584] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.080597] CPU: L2 Cache: 256K (64 bytes/line)
[ 0.080950] SMP alternatives: switching to UP code
[ 0.125151] Freeing SMP alternatives: 16k freed
[ 0.125413] Brought up 1 CPUs
[ 0.125818] net_namespace: 660 bytes
[ 0.125832] Booting paravirtualized kernel on Xen
[ 0.125840] Hypervisor signature: xen-3.0-x86_32p
[ 0.126045] Grant table initialized
[ 0.126118] NET: Registered protocol family 16
[ 0.128514] PCI: Fatal: No config space access function found
[ 0.128539] Setting up st...
2009 Jan 29
0
tap:aio support Xen Debian lenny
...[ 0.664275] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.664283] CPU: L2 cache: 6144K
[ 0.664296] Checking 'hlt' instruction... OK.
[ 0.664655] SMP alternatives: switching to UP code
[ 0.679036] Freeing SMP alternatives: 16k freed
[ 0.679124] Brought up 1 CPUs
[ 0.681279] net_namespace: 660 bytes
[ 0.681429] NET: Registered protocol family 16
[ 0.682443] Brought up 1 CPUs
[ 0.682457] PCI: Fatal: No config space access function found
[ 0.682462] PCI: setting up Xen PCI frontend stub
[ 0.683020] ACPI: Interpreter disabled.
[ 0.683027] Linux Plug and Play Support v...