Commit a44af08
netfilter: nf_conntrack_bridge: initialize err to 0
K2CI reported a problem:
consume_skb(skb);
return err;
[nf_br_ip_fragment() error] uninitialized symbol 'err'.
err is not initialized, because returning 0 is expected, initialize err
to 0.
Fixes: 3c171f4 ("netfilter: bridge: add connection tracking system")
Reported-by: k2ci <[email protected]>
Signed-off-by: Linkui Xiao <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>1 parent 67059b6 commit a44af08
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments