diff options
author | Ricardo Martinez <ricardo.martinez@linux.intel.com> | 2022-05-13 10:34:00 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-16 13:45:36 -0700 |
commit | 89af2ce2d95c80f6da9388d9da2e35c84c2573b1 (patch) | |
tree | 92677fa2ad43ab46a7d2cc2be52d69810889f0be /mm | |
parent | 262d98b1193fec68c66f3d57772b72240fc4b9da (diff) |
net: skb: Remove skb_data_area_size()
skb_data_area_size() is not needed. As Jakub pointed out [1]:
For Rx, drivers can use the size passed during skb allocation or
use skb_tailroom().
For Tx, drivers should use skb_headlen().
[1] https://lore.kernel.org/netdev/CAHNKnsTmH-rGgWi3jtyC=ktM1DW2W1VJkYoTMJV2Z_Bt498bsg@mail.gmail.com/
Signed-off-by: Ricardo Martinez <ricardo.martinez@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions