summaryrefslogtreecommitdiff
path: root/Documentation/networking/timestamping/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorYang Yang <n05ec@lzu.edu.cn>2026-03-14 07:11:27 +0000
committerSimon Wunderlich <sw@simonwunderlich.de>2026-03-14 08:29:47 +0100
commit0d4aef630be9d5f9c1227d07669c26c4383b5ad0 (patch)
treed70de9f87a274ecaade901396f2c893c2b0cba4d /Documentation/networking/timestamping/git@git.tavy.me:linux.git
parentcfc83a3c71517b59c1047db57da31e26a9dc2f33 (diff)
batman-adv: avoid OGM aggregation when skb tailroom is insufficient
When OGM aggregation state is toggled at runtime, an existing forwarded packet may have been allocated with only packet_len bytes, while a later packet can still be selected for aggregation. Appending in this case can hit skb_put overflow conditions. Reject aggregation when the target skb tailroom cannot accommodate the new packet. The caller then falls back to creating a new forward packet instead of appending. Fixes: c6c8fea29769 ("net: Add batman-adv meshing protocol") Cc: stable@vger.kernel.org Reported-by: Yifan Wu <yifanwucs@gmail.com> Reported-by: Juefei Pu <tomapufckgml@gmail.com> Signed-off-by: Yuan Tan <tanyuan98@outlook.com> Signed-off-by: Xin Liu <bird@lzu.edu.cn> Signed-off-by: Ao Zhou <n05ec@lzu.edu.cn> Signed-off-by: Yang Yang <n05ec@lzu.edu.cn> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'Documentation/networking/timestamping/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions