diff options
| author | Lorenzo Bianconi <[email protected]> | 2020-05-28 20:47:29 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-01 22:02:53 +0000 |
| commit | 1b698fa5d8ef958007c455e316aa44c37ab3c5fb (patch) | |
| tree | 001620fb89ec9f7bdf0e3ca2e9ad64ea2950ed80 /drivers/net/tun.c | |
| parent | xdp: Introduce xdp_convert_frame_to_buff utility routine (diff) | |
| download | kernel-1b698fa5d8ef958007c455e316aa44c37ab3c5fb.tar.gz kernel-1b698fa5d8ef958007c455e316aa44c37ab3c5fb.zip | |
xdp: Rename convert_to_xdp_frame in xdp_convert_buff_to_frame
In order to use standard 'xdp' prefix, rename convert_to_xdp_frame
utility routine in xdp_convert_buff_to_frame and replace all the
occurrences
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Link: https://lore.kernel.org/bpf/6344f739be0d1a08ab2b9607584c4d5478c8c083.1590698295.git.lorenzo@kernel.org
Diffstat (limited to 'drivers/net/tun.c')
| -rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index b0ab882c021e..858b012074bd 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1295,7 +1295,7 @@ resample: static int tun_xdp_tx(struct net_device *dev, struct xdp_buff *xdp) { - struct xdp_frame *frame = convert_to_xdp_frame(xdp); + struct xdp_frame *frame = xdp_convert_buff_to_frame(xdp); if (unlikely(!frame)) return -EOVERFLOW; |
