Skip to content

batadv_interface_rx pskb_may_pull cleanup

Sven Eckelmann batman 1 version Applied

Status from this message: Applied in revision a90f291.

Get series with b4
b4 am 3805562.RtX9XxSZnx@sven-edge

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3batman-adv: Add kernel-doc for batadv_interface_rxnet/batman-adv/soft-interface.c+18 -01 reply
2/3batman-adv: Remove unused parameter recv_if of batadv_interface_rxnet/batman-adv/routing.c net/batman-adv/soft-interface.c net/batman-adv/soft-interface.h+6 -81 reply
3/3batman-adv: Remove hdr_size skb size check in batadv_interface_rxnet/batman-adv/soft-interface.c+0 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [B.A.T.M.A.N.] [PATCH 0/3] batadv_interface_rx pskb_may_pull cleanup

Hi,

this patchset is about cleaning up the pskb_may_pull(skb, hdr_size) in batadv_interface_rx. This was pointed out by Marek while he checked the "pskb_may_pull(skb, ETH_HLEN)"/"pskb_may_pull(skb, VLAN_ETH_HLEN)" fix [1]. This patchset *does not* replace the other fix.

The patchset contains three patches because:

* first one is there to make clear that batadv_interface_rx is not responsible for checking hdr_size
* second one is a bonus. Just noticed this useless parameter while writing the kernel-doc
* the last patch then really removes this extra check.

Kind regards,
Sven

[1] https://patchwork.open-mesh.org/patch/15853/