search for: 241,8

Displaying 20 results from an estimated 55 matches for "241,8".

Did you mean: 241,7
2017 Nov 21
2
[PATCH] EFI TCP buffer reuse bug
...tabuf; - frag->FragmentLength = sizeof(databuf); + frag->FragmentBuffer = socket->tcp_databuf; + frag->FragmentLength = sizeof(socket->tcp_databuf); status = uefi_call_wrapper(tcp->Receive, 2, tcp, &iotoken); if (status == EFI_CONNECTION_FIN) { @@ -244,10 +241,8 @@ void core_tcp_fill_buffer(struct inode * cb_status = -1; len = frag->FragmentLength; - memcpy(databuf, frag->FragmentBuffer, len); - data = databuf; - socket->tftp_dataptr = data; + socket->tftp_dataptr = socket->tcp_databuf; socket->tftp_filepo...
2007 Apr 18
1
[Bridge] [PATCH 2.4] bridge - eliminate br_ioctl_mutex
...tnetlink.h> #include <asm/uaccess.h> #include "br_private.h" @@ -230,11 +231,8 @@ return -EOPNOTSUPP; } -static DECLARE_MUTEX(ioctl_mutex); - int br_ioctl_deviceless_stub(unsigned long arg) { - int err; unsigned long i[3]; if (!capable(CAP_NET_ADMIN)) @@ -243,11 +241,8 @@ if (copy_from_user(i, (void *)arg, 3*sizeof(unsigned long))) return -EFAULT; - down(&ioctl_mutex); - err = br_ioctl_deviceless(i[0], i[1], i[2]); - up(&ioctl_mutex); - - return err; + ASSERT_RTNL(); + return br_ioctl_deviceless(i[0], i[1], i[2]); } int br_ioctl(struct net_b...
2014 Sep 22
0
[PATCH] virtio: refactor to use drv_to_virtio
...Note: I'll probably smash this into the previous patch. drivers/virtio/virtio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 470b74f..3980687 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -241,8 +241,7 @@ EXPORT_SYMBOL_GPL(unregister_virtio_device); void virtio_config_changed(struct virtio_device *dev) { - struct virtio_driver *drv = container_of(dev->dev.driver, - struct virtio_driver, driver); + struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); if (...
2014 Oct 05
0
[PATCH 03/16] virtio: refactor to use drv_to_virtio
...ned-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/virtio/virtio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 470b74f..3980687 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -241,8 +241,7 @@ EXPORT_SYMBOL_GPL(unregister_virtio_device); void virtio_config_changed(struct virtio_device *dev) { - struct virtio_driver *drv = container_of(dev->dev.driver, - struct virtio_driver, driver); + struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); if (...
2014 Sep 22
0
[PATCH] virtio: refactor to use drv_to_virtio
...Note: I'll probably smash this into the previous patch. drivers/virtio/virtio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 470b74f..3980687 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -241,8 +241,7 @@ EXPORT_SYMBOL_GPL(unregister_virtio_device); void virtio_config_changed(struct virtio_device *dev) { - struct virtio_driver *drv = container_of(dev->dev.driver, - struct virtio_driver, driver); + struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); if (...
2019 Aug 30
0
[nbdkit PATCH v2 2/2] server: Remember .open(readonly) status
...end when -r is in effect. */ - if (readonly && b == backend) - return h->can_write = 0; + if (h->can_write == -1) h->can_write = b->can_write (b, conn); - } return h->can_write; } diff --git a/server/connections.c b/server/connections.c index 7609e9a7..0c1f2413 100644 --- a/server/connections.c +++ b/server/connections.c @@ -149,7 +149,7 @@ _handle_single_connection (int sockin, int sockout) goto done; lock_request (conn); - r = backend->open (backend, conn, readonly); + r = backend_open (backend, conn, readonly); unlock_request (conn);...
2018 Apr 06
3
[nbdkit PATCH v2] tests: Skip guestfs code on CentOS 6
CentOS 6 has libguestfs-devel 1.20.11, which predates the support in guestfs_add_drive_opts() for requesting an nbd drive instead of a local file (annoyingly, guestfs documentation merely states the function was available since 0.3, without saying which later releases added new options); causing a compilation failure during 'make check'. Maybe the guestfs plugin should still be built,
2018 Apr 09
0
[nbdkit PATCH 2/1] RFC: tests: Run tests that don't require libguestfs
...UESTFS_CFLAGS) test_oldstyle_LDADD = libtest.la $(LIBGUESTFS_LIBS) +endif HAVE_LIBGUESTFS + # file plugin test. -check_PROGRAMS += test-file -TESTS += test-file +LIBGUESTFS_TESTS += test-file test_file_SOURCES = test-file.c test.h test_file_CFLAGS = $(WARNINGS_CFLAGS) $(LIBGUESTFS_CFLAGS) @@ -241,8 +243,7 @@ test_file_LDADD = libtest.la $(LIBGUESTFS_LIBS) if HAVE_ZLIB if HAVE_GUESTFISH -check_PROGRAMS += test-gzip -TESTS += test-gzip +LIBGUESTFS_TESTS += test-gzip check_DATA += disk disk.gz MAINTAINERCLEANFILES += disk disk.gz @@ -263,24 +264,21 @@ endif HAVE_GUESTFISH endif HAVE_ZLI...
2003 Dec 16
3
default --rsh
On Mon, Dec 15, 2003 at 10:51:08AM -0800, Wayne Davison wrote: > On Mon, Dec 15, 2003 at 10:03:28AM -0800, jw schultz wrote: > > > The one thing i really would have liked to have seen in a version bump > > would have been changing the default remote shell to ssh instead of > > rsh/remsh. > > I can see this being both a good thing (since I think it is a better >
2004 May 06
2
rsync-2.6.2: NFS clients confused after an rsync
We use rsync to update an nfs server. After an update, we noticed that a large number of clients didn't see the updated data. It took me a while to be able to reliably reproduce this problem, but it happens on old and new versions of rysnc. It also happens across all the platforms we use here (sun/linux/netapp). This shows the problem: [Note my home directory is NFS mounted]
2018 Jan 17
0
[PATCH 9/9] filters: Move rdelay/wdelay from file plugin to new delay filter.
...lt;NN>[ms] Read delay in seconds/milliseconds.\n" \ - "wdelay=<NN>[ms] Write delay in seconds/milliseconds." \ + "file=<FILENAME> (required) The filename to serve." \ /* The per-connection handle. */ struct handle { @@ -241,8 +181,6 @@ file_pread (void *handle, void *buf, uint32_t count, uint64_t offset) { struct handle *h = handle; - read_delay (); - while (count > 0) { ssize_t r = pread (h->fd, buf, count, offset); if (r == -1) { @@ -267,8 +205,6 @@ file_pwrite (void *handle, const void *bu...
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...f (commentlen > 0 && comment[commentlen -1] == '\n') + comment[commentlen - 1] = '\0'; /* Check if the we have found the desired key (identified by its modulus). */ if (BN_cmp(key->rsa->n, client_n) != 0) @@ -231,6 +241,8 @@ file, linenum, BN_num_bits(key->rsa->n), bits); /* We have found the desired key. */ + debug("Found desired key for %s", comment); /* NaTIS */ + /* * If our options do not allow this key...
2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...es); +#ifndef __XEN__ loadsegment(fs, ctxt->fs); loadsegment(gs, ctxt->gs); +#endif loadsegment(ss, ctxt->ss); +#ifndef __XEN__ /* * sysenter MSRs */ if (boot_cpu_has(X86_FEATURE_SEP)) enable_sep_cpu(); +#endif fix_processor_context(); do_fpu_end(); @@ -127,6 +241,8 @@ void restore_processor_state(void) __restore_processor_state(&saved_context); } +#ifndef __XEN__ /* Needed by apm.c */ EXPORT_SYMBOL(save_processor_state); EXPORT_SYMBOL(restore_processor_state); +#endif diff -r 13e258a58044 xen/arch/x86/x86_64/mm.c --- a/xen/arch/x86/x86_64/mm.c W...
2019 Aug 30
3
[nbdkit PATCH v2 0/2] caching .can_write
This is a subset of the last half of the larger 9-patch series. The uncontroversial first half of that series is pushed, but here, I tried to reduce the size of the patches by splitting out some of the more complex changes, so that the rest of the changes remaining in the series are more mechanical. In turn, it forced me to write timing tests, which let me spot another spot where we are wasting
2009 May 07
6
[PATCH 1/3] virtio: find_vqs/del_vqs virtio operations
...+ goto out_free_vb; + + vb->inflate_vq = vqs[0]; + vb->deflate_vq = vqs[1]; vb->thread = kthread_run(balloon, vb, "vballoon"); if (IS_ERR(vb->thread)) { err = PTR_ERR(vb->thread); - goto out_del_deflate_vq; + goto out_del_vqs; } vb->tell_host_first @@ -241,10 +241,8 @@ static int virtballoon_probe(struct virtio_device *vdev) return 0; -out_del_deflate_vq: - vdev->config->del_vq(vb->deflate_vq); -out_del_inflate_vq: - vdev->config->del_vq(vb->inflate_vq); +out_del_vqs: + vdev->config->del_vqs(vdev); out_free_vb: kfree(...
2009 May 07
6
[PATCH 1/3] virtio: find_vqs/del_vqs virtio operations
...+ goto out_free_vb; + + vb->inflate_vq = vqs[0]; + vb->deflate_vq = vqs[1]; vb->thread = kthread_run(balloon, vb, "vballoon"); if (IS_ERR(vb->thread)) { err = PTR_ERR(vb->thread); - goto out_del_deflate_vq; + goto out_del_vqs; } vb->tell_host_first @@ -241,10 +241,8 @@ static int virtballoon_probe(struct virtio_device *vdev) return 0; -out_del_deflate_vq: - vdev->config->del_vq(vb->deflate_vq); -out_del_inflate_vq: - vdev->config->del_vq(vb->inflate_vq); +out_del_vqs: + vdev->config->del_vqs(vdev); out_free_vb: kfree(...
2014 May 14
0
[RFC PATCH v1 07/16] drm/nouveau: rework to new fence interface
...e.emit32 = nv84_fence_emit32; fctx->base.sync32 = nv84_fence_sync32; + fctx->base.sequence = nv84_fence_read(chan); + fctx->base.context = priv->base.context_base + fifo->chid; ret = nouveau_bo_vma_add(priv->bo, client->vm, &fctx->vma); if (ret == 0) { @@ -239,7 +241,8 @@ nv84_fence_create(struct nouveau_drm *drm) priv->base.context_new = nv84_fence_context_new; priv->base.context_del = nv84_fence_context_del; - init_waitqueue_head(&priv->base.waiting); + priv->base.contexts = pfifo->max + 1; + priv->base.context_base = fence_context...
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...; - DEBUG(5, ("parse_acl_blob: ndr_pull_xattr_NTACL failed: %s\n", > - ndr_errstr(ndr_err))); > + DBG_INFO("ndr_pull_xattr_NTACL failed: %s\n", > + ndr_errstr(ndr_err)); > TALLOC_FREE(frame); > return ndr_map_error2ntstatus(ndr_err); > } > @@ -241,8 +241,8 @@ static NTSTATUS create_acl_blob(const struct security_descriptor *psd, > (ndr_push_flags_fn_t)ndr_push_xattr_NTACL); > > if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { > - DEBUG(5, ("create_acl_blob: ndr_push_xattr_NTACL failed: %s\n", > - ndr_errstr(ndr_er...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2007 Aug 23
0
[git patch] klibc dash 0.5.4 update
...v && *gargv); out: - return (rval & ~0x100); + return rval; err: return 1; } @@ -222,7 +223,7 @@ err: * Print SysV echo(1) style escape string * Halts processing string if a \c escape is encountered. */ -static char * +static int conv_escape_str(char *str) { int ch; @@ -241,8 +242,7 @@ conv_escape_str(char *str) ch = *str++; if (ch == 'c') { /* \c as in SYSV echo - abort all processing.... */ - rval |= 0x100; - ch = 0; + ch = 0x100; continue; } @@ -269,9 +269,9 @@ conv_escape_str(char *str) /* Finally test for sequences valid in the...