openvpn-dco-dkms DKMS FTBFS wrt Linux 6.5

Bug #2028950 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvpn-dco-dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

...
/home/ubuntu/openvpn-dco/openvpn-dco-dkms-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c: In function ‘ovpn_net_xmit’:
/home/ubuntu/openvpn-dco/openvpn-dco-dkms-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c:432:28: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’? [-Werror=implicit-function-declaration]
  432 | segments = skb_gso_segment(skb, 0);
      | ^~~~~~~~~~~~~~~
      | skb_gso_reset
/home/ubuntu/openvpn-dco/openvpn-dco-dkms-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c:432:26: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  432 | segments = skb_gso_segment(skb, 0);
      | ^
...

[Fix]

Apply the attached fix.

[How to test]

Install the patched packet (and checks it builds fine).

[Regression potential]

None, it's a conditionally compiled, trivial, #include<> update.

Tags: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
Changed in openvpn-dco-dkms (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openvpn-dco-dkms - 0.0+git20230324-1ubuntu1

---------------
openvpn-dco-dkms (0.0+git20230324-1ubuntu1) mantic; urgency=medium

  * debian/patches/0001-linux-6.5-buildfix.patch:
    - Linux 6.5 FTBFS fix (LP: #2028950)

 -- Paolo Pisati <email address hidden> Fri, 28 Jul 2023 13:52:50 +0000

Changed in openvpn-dco-dkms (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.