---
name: "relay_remove_buf"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/relay_remove_buf"
---

# relay\_remove\_buf(9)

remove a channel buffer

## NAME

relay\_remove\_buf - remove a channel buffer

## SYNOPSIS

**void relay\_remove\_buf(struct kref \*** *kref***);**

## ARGUMENTS

*kref*

target kernel reference that contains the relay buffer

## DESCRIPTION

Removes the file from the filesystem, which also frees the rchan\_buf\_struct and the channel buffer. Should only be called from **kref\_put**.

## COPYRIGHT
