Bug 1214391

Summary: vbox:kmp fails with kernel 6.4.10
Product: [openSUSE] openSUSE Tumbleweed Reporter: Jiri Slaby <jslaby>
Component: Virtualization:OtherAssignee: Larry Finger <Larry.Finger>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: llrainey15
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Slaby 2023-08-18 09:35:59 UTC
It looks like since commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151

(present in 6.4.10), virtualbox needs to include net/gso.h too:
> vboxnetflt/linux/VBoxNetFlt-linux.c:1577:40: error: implicit declaration of function 'skb_gso_segment'; did you mean 'skb_gso_reset'?

in:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:K/virtualbox:kmp/standard/x86_64

Can you take care of it?
Comment 1 Larry Finger 2023-08-18 18:33:46 UTC
I just pushed a fix to Virtualization/virtualbox. As you noted, the code is missing an include to <net/gso.h>. The surprising part is that the definition of skb_gso_segment is in the new place in mainline kernel 6.5-rc6, but the header in question was applied already, thus there was no failure.

In any case, the code should now build on 6.4.10 and 6.4.11 at OBS.
Comment 2 OBSbugzilla Bot 2023-09-21 16:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1214391) was mentioned in
https://build.opensuse.org/request/show/1112825 15.4 / virtualbox
https://build.opensuse.org/request/show/1112830 15.5 / virtualbox
https://build.opensuse.org/request/show/1112832 15.6 / virtualbox
Comment 3 Marcus Meissner 2023-10-02 13:07:45 UTC
openSUSE-RU-2023:0284-1: An update that has three recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1212761,1214391,1215463
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    virtualbox-7.0.10-lp154.2.38.1, virtualbox-kmp-7.0.10-lp154.2.38.1
Comment 4 Marcus Meissner 2023-10-02 13:10:57 UTC
openSUSE-RU-2023:0286-1: An update that has three recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1212761,1214391,1215463
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.5 (src):    virtualbox-7.0.10-lp155.2.8.1, virtualbox-kmp-7.0.10-lp155.2.8.1